
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <meta name="robots" content="NONE,NOARCHIVE">
  <title>ValueError at /DwCstmQuickSearch/</title>
  <style type="text/css">
    html * { padding:0; margin:0; }
    body * { padding:10px 20px; }
    body * * { padding:0; }
    body { font:small sans-serif; }
    body>div { border-bottom:1px solid #ddd; }
    h1 { font-weight:normal; }
    h2 { margin-bottom:.8em; }
    h2 span { font-size:80%; color:#666; font-weight:normal; }
    h3 { margin:1em 0 .5em 0; }
    h4 { margin:0 0 .5em 0; font-weight: normal; }
    code, pre { font-size: 100%; white-space: pre-wrap; }
    table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; }
    tbody td, tbody th { vertical-align:top; padding:2px 3px; }
    thead th {
      padding:1px 6px 1px 3px; background:#fefefe; text-align:left;
      font-weight:normal; font-size:11px; border:1px solid #ddd;
    }
    tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; }
    table.vars { margin:5px 0 2px 40px; }
    table.vars td, table.req td { font-family:monospace; }
    table td.code { width:100%; }
    table td.code pre { overflow:hidden; }
    table.source th { color:#666; }
    table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; }
    ul.traceback { list-style-type:none; color: #222; }
    ul.traceback li.frame { padding-bottom:1em; color:#666; }
    ul.traceback li.user { background-color:#e0e0e0; color:#000 }
    div.context { padding:10px 0; overflow:hidden; }
    div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; }
    div.context ol li { font-family:monospace; white-space:pre; color:#777; cursor:pointer; }
    div.context ol li pre { display:inline; }
    div.context ol.context-line li { color:#505050; background-color:#dfdfdf; }
    div.context ol.context-line li span { position:absolute; right:32px; }
    .user div.context ol.context-line li { background-color:#bbb; color:#000; }
    .user div.context ol li { color:#666; }
    div.commands { margin-left: 40px; }
    div.commands a { color:#555; text-decoration:none; }
    .user div.commands a { color: black; }
    #summary { background: #ffc; }
    #summary h2 { font-weight: normal; color: #666; }
    #explanation { background:#eee; }
    #template, #template-not-exist { background:#f6f6f6; }
    #template-not-exist ul { margin: 0 0 0 20px; }
    #unicode-hint { background:#eee; }
    #traceback { background:#eee; }
    #requestinfo { background:#f6f6f6; padding-left:120px; }
    #summary table { border:none; background:transparent; }
    #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; }
    #requestinfo h3 { margin-bottom:-1em; }
    .error { background: #ffc; }
    .specific { color:#cc3300; font-weight:bold; }
    h2 span.commands { font-size:.7em;}
    span.commands a:link {color:#5E5694;}
    pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; }
  </style>
  
  <script type="text/javascript">
  //<!--
    function getElementsByClassName(oElm, strTagName, strClassName){
        // Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com
        var arrElements = (strTagName == "*" && document.all)? document.all :
        oElm.getElementsByTagName(strTagName);
        var arrReturnElements = new Array();
        strClassName = strClassName.replace(/\-/g, "\-");
        var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)");
        var oElement;
        for(var i=0; i<arrElements.length; i++){
            oElement = arrElements[i];
            if(oRegExp.test(oElement.className)){
                arrReturnElements.push(oElement);
            }
        }
        return (arrReturnElements)
    }
    function hideAll(elems) {
      for (var e = 0; e < elems.length; e++) {
        elems[e].style.display = 'none';
      }
    }
    window.onload = function() {
      hideAll(getElementsByClassName(document, 'table', 'vars'));
      hideAll(getElementsByClassName(document, 'ol', 'pre-context'));
      hideAll(getElementsByClassName(document, 'ol', 'post-context'));
      hideAll(getElementsByClassName(document, 'div', 'pastebin'));
    }
    function toggle() {
      for (var i = 0; i < arguments.length; i++) {
        var e = document.getElementById(arguments[i]);
        if (e) {
          e.style.display = e.style.display == 'none' ? 'block': 'none';
        }
      }
      return false;
    }
    function varToggle(link, id) {
      toggle('v' + id);
      var s = link.getElementsByTagName('span')[0];
      var uarr = String.fromCharCode(0x25b6);
      var darr = String.fromCharCode(0x25bc);
      s.innerHTML = s.innerHTML == uarr ? darr : uarr;
      return false;
    }
    function switchPastebinFriendly(link) {
      s1 = "Switch to copy-and-paste view";
      s2 = "Switch back to interactive view";
      link.innerHTML = link.innerHTML == s1 ? s2: s1;
      toggle('browserTraceback', 'pastebinTraceback');
      return false;
    }
    //-->
  </script>
  
</head>
<body>
<div id="summary">
  <h1>ValueError at /DwCstmQuickSearch/</h1>
  <pre class="exception_value">Cannot use None as a query value</pre>
  <table class="meta">

    <tr>
      <th>Request Method:</th>
      <td>GET</td>
    </tr>
    <tr>
      <th>Request URL:</th>
      <td>http://localhost:9300/DwCstmQuickSearch/?UserName=%E6%A8%B1%E8%8A%B1%E6%97%A5%E5%A6%86%E7%A4%BE</td>
    </tr>

    <tr>
      <th>Django Version:</th>
      <td>1.8</td>
    </tr>

    <tr>
      <th>Exception Type:</th>
      <td>ValueError</td>
    </tr>


    <tr>
      <th>Exception Value:</th>
      <td><pre>Cannot use None as a query value</pre></td>
    </tr>


    <tr>
      <th>Exception Location:</th>
      <td>/home/Duowei/env/py3env/lib/python3.4/site-packages/django/db/models/sql/query.py in prepare_lookup_value, line 990</td>
    </tr>

    <tr>
      <th>Python Executable:</th>
      <td>/home/Duowei/env/py3env/bin/python</td>
    </tr>
    <tr>
      <th>Python Version:</th>
      <td>3.4.4</td>
    </tr>
    <tr>
      <th>Python Path:</th>
      <td><pre>[&#39;/home/Dw/DW&#39;,
 &#39;/home/Duowei/env/py3env/lib/python34.zip&#39;,
 &#39;/home/Duowei/env/py3env/lib/python3.4&#39;,
 &#39;/home/Duowei/env/py3env/lib/python3.4/plat-linux&#39;,
 &#39;/home/Duowei/env/py3env/lib/python3.4/lib-dynload&#39;,
 &#39;/usr/local/python3/lib/python3.4&#39;,
 &#39;/usr/local/python3/lib/python3.4/plat-linux&#39;,
 &#39;/home/Duowei/env/py3env/lib/python3.4/site-packages&#39;]</pre></td>
    </tr>
    <tr>
      <th>Server time:</th>
      <td>Tue, 7 Aug 2018 22:37:34 +0800</td>
    </tr>
  </table>
</div>




<div id="traceback">
  <h2>Traceback <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);">
    Switch to copy-and-paste view</a></span>
  </h2>
  
  <div id="browserTraceback">
    <ul class="traceback">
      
        <li class="frame django">
          <code>/home/Duowei/env/py3env/lib/python3.4/site-packages/django/core/handlers/base.py</code> in <code>get_response</code>

          
            <div class="context" id="c139999221045640">
              
                <ol start="125" class="pre-context" id="pre139999221045640">
                
                  <li onclick="toggle('pre139999221045640', 'post139999221045640')"><pre>                    response = middleware_method(request, callback, callback_args, callback_kwargs)</pre></li>
                
                  <li onclick="toggle('pre139999221045640', 'post139999221045640')"><pre>                    if response:</pre></li>
                
                  <li onclick="toggle('pre139999221045640', 'post139999221045640')"><pre>                        break</pre></li>
                
                  <li onclick="toggle('pre139999221045640', 'post139999221045640')"><pre></pre></li>
                
                  <li onclick="toggle('pre139999221045640', 'post139999221045640')"><pre>            if response is None:</pre></li>
                
                  <li onclick="toggle('pre139999221045640', 'post139999221045640')"><pre>                wrapped_callback = self.make_view_atomic(callback)</pre></li>
                
                  <li onclick="toggle('pre139999221045640', 'post139999221045640')"><pre>                try:</pre></li>
                
                </ol>
              
              <ol start="132" class="context-line">
                <li onclick="toggle('pre139999221045640', 'post139999221045640')"><pre>
                                response = wrapped_callback(request, *callback_args, **callback_kwargs)</pre> <span>...</span></li></ol>
              
                <ol start='133' class="post-context" id="post139999221045640">
                  
                  <li onclick="toggle('pre139999221045640', 'post139999221045640')"><pre>                except Exception as e:</pre></li>
                  
                  <li onclick="toggle('pre139999221045640', 'post139999221045640')"><pre>                    # If the view raised an exception, run it through exception</pre></li>
                  
                  <li onclick="toggle('pre139999221045640', 'post139999221045640')"><pre>                    # middleware, and if the exception middleware returns a</pre></li>
                  
                  <li onclick="toggle('pre139999221045640', 'post139999221045640')"><pre>                    # response, use that. Otherwise, reraise the exception.</pre></li>
                  
                  <li onclick="toggle('pre139999221045640', 'post139999221045640')"><pre>                    for middleware_method in self._exception_middleware:</pre></li>
                  
                  <li onclick="toggle('pre139999221045640', 'post139999221045640')"><pre>                        response = middleware_method(request, e)</pre></li>
                  
              </ol>
              
            </div>
          

          
            <div class="commands">
                
                    <a href="#" onclick="return varToggle(this, '139999221045640')"><span>&#x25b6;</span> Local vars</a>
                
            </div>
            <table class="vars" id="v139999221045640">
              <thead>
                <tr>
                  <th>Variable</th>
                  <th>Value</th>
                </tr>
              </thead>
              <tbody>
                
                  <tr>
                    <td>callback_args</td>
                    <td class="code"><pre>()</pre></td>
                  </tr>
                
                  <tr>
                    <td>wrapped_callback</td>
                    <td class="code"><pre>&lt;function DwCstmQuickSearch at 0x7f542786c840&gt;</pre></td>
                  </tr>
                
                  <tr>
                    <td>self</td>
                    <td class="code"><pre>&lt;django.core.handlers.wsgi.WSGIHandler object at 0x7f542f8af9b0&gt;</pre></td>
                  </tr>
                
                  <tr>
                    <td>resolver</td>
                    <td class="code"><pre>&lt;RegexURLResolver &#39;Dw.urls&#39; (None:None) ^/&gt;</pre></td>
                  </tr>
                
                  <tr>
                    <td>callback</td>
                    <td class="code"><pre>&lt;function DwCstmQuickSearch at 0x7f542786c840&gt;</pre></td>
                  </tr>
                
                  <tr>
                    <td>callback_kwargs</td>
                    <td class="code"><pre>{}</pre></td>
                  </tr>
                
                  <tr>
                    <td>request</td>
                    <td class="code"><pre>(&#39;&lt;WSGIRequest\n&#39;
 &#39;path:/DwCstmQuickSearch/,\n&#39;
 &quot;GET:&lt;QueryDict: {&#39;UserName&#39;: [&#39;樱花日妆社&#39;]}&gt;,\n&quot;
 &#39;POST:&lt;QueryDict: {}&gt;,\n&#39;
 &#39;COOKIES:{},\n&#39;
 &quot;META:{&#39;CONTENT_LENGTH&#39;: &#39;&#39;,\n&quot;
 &quot; &#39;CONTENT_TYPE&#39;: &#39;text/plain&#39;,\n&quot;
 &quot; &#39;CVS_RSH&#39;: &#39;ssh&#39;,\n&quot;
 &quot; &#39;DJANGO_SETTINGS_MODULE&#39;: &#39;Dw.settings&#39;,\n&quot;
 &quot; &#39;GATEWAY_INTERFACE&#39;: &#39;CGI/1.1&#39;,\n&quot;
 &quot; &#39;G_BROKEN_FILENAMES&#39;: &#39;1&#39;,\n&quot;
 &quot; &#39;HISTCONTROL&#39;: &#39;ignoredups&#39;,\n&quot;
 &quot; &#39;HISTSIZE&#39;: &#39;1000&#39;,\n&quot;
 &quot; &#39;HOME&#39;: &#39;/root&#39;,\n&quot;
 &quot; &#39;HOSTNAME&#39;: &#39;iZtkx8g2tmtzfjZ&#39;,\n&quot;
 &quot; &#39;HTTP_ACCEPT&#39;: &#39;*/*&#39;,\n&quot;
 &quot; &#39;HTTP_ACCEPT_ENCODING&#39;: &#39;gzip, deflate&#39;,\n&quot;
 &quot; &#39;HTTP_ACCEPT_LANGUAGE&#39;: &quot;
 &quot;&#39;zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2&#39;,\n&quot;
 &quot; &#39;HTTP_CONNECTION&#39;: &#39;close&#39;,\n&quot;
 &quot; &#39;HTTP_HOST&#39;: &#39;localhost:9300&#39;,\n&quot;
 &quot; &#39;HTTP_ORIGIN&#39;: &#39;http://127.0.0.1:8020&#39;,\n&quot;
 &quot; &#39;HTTP_REFERER&#39;: &quot;
 &quot;&#39;http://www.duoweish.com/crm/buser_manage.html?q=%E6%A8%B1%E8%8A%B1%E6%97%A5%E5%A6%86%E7%A4%BE&amp;search=&#39;,\n&quot;
 &quot; &#39;HTTP_USER_AGENT&#39;: &#39;Mozilla/5.0 (Windows NT 10.0; WOW64; rv:61.0) &#39;\n&quot;
 &quot;                    &#39;Gecko/20100101 Firefox/61.0&#39;,\n&quot;
 &quot; &#39;LANG&#39;: &#39;en_US.UTF-8&#39;,\n&quot;
 &quot; &#39;LESSOPEN&#39;: &#39;||/usr/bin/lesspipe.sh %s&#39;,\n&quot;
 &quot; &#39;LOGNAME&#39;: &#39;root&#39;,\n&quot;
 &quot; &#39;LS_COLORS&#39;: &quot;
 &quot;&#39;rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:&#39;,\n&quot;
 &quot; &#39;MAIL&#39;: &#39;/var/spool/mail/root&#39;,\n&quot;
 &quot; &#39;OLDPWD&#39;: &#39;/home/Dw/DW/Dw&#39;,\n&quot;
 &quot; &#39;PATH&#39;: &quot;
 &quot;&#39;/home/Duowei/env/py3env/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/git/bin:/root/bin&#39;,\n&quot;
 &quot; &#39;PATH_INFO&#39;: &#39;/DwCstmQuickSearch/&#39;,\n&quot;
 &quot; &#39;PS1&#39;: &#39;(py3env) [\\\\u@\\\\h \\\\W]\\\\$ &#39;,\n&quot;
 &quot; &#39;PWD&#39;: &#39;/home/Dw/DW&#39;,\n&quot;
 &quot; &#39;QUERY_STRING&#39;: &quot;
 &quot;&#39;UserName=%E6%A8%B1%E8%8A%B1%E6%97%A5%E5%A6%86%E7%A4%BE&#39;,\n&quot;
 &quot; &#39;REMOTE_ADDR&#39;: &#39;127.0.0.1&#39;,\n&quot;
 &quot; &#39;REMOTE_HOST&#39;: &#39;&#39;,\n&quot;
 &quot; &#39;REQUEST_METHOD&#39;: &#39;GET&#39;,\n&quot;
 &quot; &#39;RUN_MAIN&#39;: &#39;true&#39;,\n&quot;
 &quot; &#39;SCRIPT_NAME&#39;: &#39;&#39;,\n&quot;
 &quot; &#39;SERVER_NAME&#39;: &#39;iZtkx8g2tmtzfjZ&#39;,\n&quot;
 &quot; &#39;SERVER_PORT&#39;: &#39;9300&#39;,\n&quot;
 &quot; &#39;SERVER_PROTOCOL&#39;: &#39;HTTP/1.0&#39;,\n&quot;
 &quot; &#39;SERVER_SOFTWARE&#39;: &#39;WSGIServer/0.2&#39;,\n&quot;
 &quot; &#39;SHELL&#39;: &#39;/bin/bash&#39;,\n&quot;
 &quot; &#39;SHLVL&#39;: &#39;1&#39;,\n&quot;
 &quot; &#39;SSH_CLIENT&#39;: &#39;123.139.135.71 8079 22&#39;,\n&quot;
 &quot; &#39;SSH_CONNECTION&#39;: &#39;123.139.135.71 8079 120.27.159.85 22&#39;,\n&quot;
 &quot; &#39;SSH_TTY&#39;: &#39;/dev/pts/1&#39;,\n&quot;
 &quot; &#39;TERM&#39;: &#39;xterm&#39;,\n&quot;
 &quot; &#39;TZ&#39;: &#39;Asia/Shanghai&#39;,\n&quot;
 &quot; &#39;USER&#39;: &#39;root&#39;,\n&quot;
 &quot; &#39;VIRTUAL_ENV&#39;: &#39;/home/Duowei/env/py3env&#39;,\n&quot;
 &quot; &#39;_&#39;: &#39;/usr/bin/nohup&#39;,\n&quot;
 &quot; &#39;wsgi.errors&#39;: &lt;_io.TextIOWrapper name=&#39;&lt;stderr&gt;&#39; mode=&#39;w&#39; &quot;
 &quot;encoding=&#39;UTF-8&#39;&gt;,\n&quot;
 &quot; &#39;wsgi.file_wrapper&#39;: &lt;class &#39;wsgiref.util.FileWrapper&#39;&gt;,\n&quot;
 &quot; &#39;wsgi.input&#39;: &lt;_io.BufferedReader name=6&gt;,\n&quot;
 &quot; &#39;wsgi.multiprocess&#39;: False,\n&quot;
 &quot; &#39;wsgi.multithread&#39;: True,\n&quot;
 &quot; &#39;wsgi.run_once&#39;: False,\n&quot;
 &quot; &#39;wsgi.url_scheme&#39;: &#39;http&#39;,\n&quot;
 &quot; &#39;wsgi.version&#39;: (1, 0)}&gt;&quot;)</pre></td>
                  </tr>
                
                  <tr>
                    <td>middleware_method</td>
                    <td class="code"><pre>&lt;bound method CorsMiddleware.process_view of &lt;corsheaders.middleware.CorsMiddleware object at 0x7f542d0f2f98&gt;&gt;</pre></td>
                  </tr>
                
                  <tr>
                    <td>urlconf</td>
                    <td class="code"><pre>&#39;Dw.urls&#39;</pre></td>
                  </tr>
                
                  <tr>
                    <td>response</td>
                    <td class="code"><pre>None</pre></td>
                  </tr>
                
                  <tr>
                    <td>resolver_match</td>
                    <td class="code"><pre>ResolverMatch(func=dw.views.DwCstmQuickSearch, args=(), kwargs={}, url_name=None, app_name=None, namespaces=[])</pre></td>
                  </tr>
                
              </tbody>
            </table>
          
        </li>
      
        <li class="frame user">
          <code>/home/Dw/DW/dw/views.py</code> in <code>DwCstmQuickSearch</code>

          
            <div class="context" id="c139999221045896">
              
                <ol start="5027" class="pre-context" id="pre139999221045896">
                
                  <li onclick="toggle('pre139999221045896', 'post139999221045896')"><pre>            get_name = Users.objects.filter(userid=Search[count].userid)[0].username</pre></li>
                
                  <li onclick="toggle('pre139999221045896', 'post139999221045896')"><pre>            row = [GetCstm,project_name,content,kind,time,get_name,Pic,Comment,Flag,Search[count].cmmeventid]</pre></li>
                
                  <li onclick="toggle('pre139999221045896', 'post139999221045896')"><pre>            Data.append(row)</pre></li>
                
                  <li onclick="toggle('pre139999221045896', 'post139999221045896')"><pre>    return HttpResponse(json.dumps(Data), content_type=&#39;application/json&#39;)</pre></li>
                
                  <li onclick="toggle('pre139999221045896', 'post139999221045896')"><pre></pre></li>
                
                  <li onclick="toggle('pre139999221045896', 'post139999221045896')"><pre>def DwCstmQuickSearch(request):</pre></li>
                
                  <li onclick="toggle('pre139999221045896', 'post139999221045896')"><pre>    get_name = request.GET.get(&#39;CstmName&#39;)</pre></li>
                
                </ol>
              
              <ol start="5034" class="context-line">
                <li onclick="toggle('pre139999221045896', 'post139999221045896')"><pre>
                Search = Customer.objects.filter(cstmname__contains=get_name).order_by(&#39;-cstmdate&#39;)</pre> <span>...</span></li></ol>
              
                <ol start='5035' class="post-context" id="post139999221045896">
                  
                  <li onclick="toggle('pre139999221045896', 'post139999221045896')"><pre>    if len(Search):</pre></li>
                  
                  <li onclick="toggle('pre139999221045896', 'post139999221045896')"><pre>        GetId = Search[0].cstmid</pre></li>
                  
                  <li onclick="toggle('pre139999221045896', 'post139999221045896')"><pre>    else:</pre></li>
                  
                  <li onclick="toggle('pre139999221045896', 'post139999221045896')"><pre>        GetId = &quot;failure&quot;</pre></li>
                  
                  <li onclick="toggle('pre139999221045896', 'post139999221045896')"><pre></pre></li>
                  
                  <li onclick="toggle('pre139999221045896', 'post139999221045896')"><pre>    return HttpResponse(json.dumps(GetId), content_type=&#39;application/json&#39;)</pre></li>
                  
              </ol>
              
            </div>
          

          
            <div class="commands">
                
                    <a href="#" onclick="return varToggle(this, '139999221045896')"><span>&#x25b6;</span> Local vars</a>
                
            </div>
            <table class="vars" id="v139999221045896">
              <thead>
                <tr>
                  <th>Variable</th>
                  <th>Value</th>
                </tr>
              </thead>
              <tbody>
                
                  <tr>
                    <td>request</td>
                    <td class="code"><pre>(&#39;&lt;WSGIRequest\n&#39;
 &#39;path:/DwCstmQuickSearch/,\n&#39;
 &quot;GET:&lt;QueryDict: {&#39;UserName&#39;: [&#39;樱花日妆社&#39;]}&gt;,\n&quot;
 &#39;POST:&lt;QueryDict: {}&gt;,\n&#39;
 &#39;COOKIES:{},\n&#39;
 &quot;META:{&#39;CONTENT_LENGTH&#39;: &#39;&#39;,\n&quot;
 &quot; &#39;CONTENT_TYPE&#39;: &#39;text/plain&#39;,\n&quot;
 &quot; &#39;CVS_RSH&#39;: &#39;ssh&#39;,\n&quot;
 &quot; &#39;DJANGO_SETTINGS_MODULE&#39;: &#39;Dw.settings&#39;,\n&quot;
 &quot; &#39;GATEWAY_INTERFACE&#39;: &#39;CGI/1.1&#39;,\n&quot;
 &quot; &#39;G_BROKEN_FILENAMES&#39;: &#39;1&#39;,\n&quot;
 &quot; &#39;HISTCONTROL&#39;: &#39;ignoredups&#39;,\n&quot;
 &quot; &#39;HISTSIZE&#39;: &#39;1000&#39;,\n&quot;
 &quot; &#39;HOME&#39;: &#39;/root&#39;,\n&quot;
 &quot; &#39;HOSTNAME&#39;: &#39;iZtkx8g2tmtzfjZ&#39;,\n&quot;
 &quot; &#39;HTTP_ACCEPT&#39;: &#39;*/*&#39;,\n&quot;
 &quot; &#39;HTTP_ACCEPT_ENCODING&#39;: &#39;gzip, deflate&#39;,\n&quot;
 &quot; &#39;HTTP_ACCEPT_LANGUAGE&#39;: &quot;
 &quot;&#39;zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2&#39;,\n&quot;
 &quot; &#39;HTTP_CONNECTION&#39;: &#39;close&#39;,\n&quot;
 &quot; &#39;HTTP_HOST&#39;: &#39;localhost:9300&#39;,\n&quot;
 &quot; &#39;HTTP_ORIGIN&#39;: &#39;http://127.0.0.1:8020&#39;,\n&quot;
 &quot; &#39;HTTP_REFERER&#39;: &quot;
 &quot;&#39;http://www.duoweish.com/crm/buser_manage.html?q=%E6%A8%B1%E8%8A%B1%E6%97%A5%E5%A6%86%E7%A4%BE&amp;search=&#39;,\n&quot;
 &quot; &#39;HTTP_USER_AGENT&#39;: &#39;Mozilla/5.0 (Windows NT 10.0; WOW64; rv:61.0) &#39;\n&quot;
 &quot;                    &#39;Gecko/20100101 Firefox/61.0&#39;,\n&quot;
 &quot; &#39;LANG&#39;: &#39;en_US.UTF-8&#39;,\n&quot;
 &quot; &#39;LESSOPEN&#39;: &#39;||/usr/bin/lesspipe.sh %s&#39;,\n&quot;
 &quot; &#39;LOGNAME&#39;: &#39;root&#39;,\n&quot;
 &quot; &#39;LS_COLORS&#39;: &quot;
 &quot;&#39;rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:&#39;,\n&quot;
 &quot; &#39;MAIL&#39;: &#39;/var/spool/mail/root&#39;,\n&quot;
 &quot; &#39;OLDPWD&#39;: &#39;/home/Dw/DW/Dw&#39;,\n&quot;
 &quot; &#39;PATH&#39;: &quot;
 &quot;&#39;/home/Duowei/env/py3env/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/git/bin:/root/bin&#39;,\n&quot;
 &quot; &#39;PATH_INFO&#39;: &#39;/DwCstmQuickSearch/&#39;,\n&quot;
 &quot; &#39;PS1&#39;: &#39;(py3env) [\\\\u@\\\\h \\\\W]\\\\$ &#39;,\n&quot;
 &quot; &#39;PWD&#39;: &#39;/home/Dw/DW&#39;,\n&quot;
 &quot; &#39;QUERY_STRING&#39;: &quot;
 &quot;&#39;UserName=%E6%A8%B1%E8%8A%B1%E6%97%A5%E5%A6%86%E7%A4%BE&#39;,\n&quot;
 &quot; &#39;REMOTE_ADDR&#39;: &#39;127.0.0.1&#39;,\n&quot;
 &quot; &#39;REMOTE_HOST&#39;: &#39;&#39;,\n&quot;
 &quot; &#39;REQUEST_METHOD&#39;: &#39;GET&#39;,\n&quot;
 &quot; &#39;RUN_MAIN&#39;: &#39;true&#39;,\n&quot;
 &quot; &#39;SCRIPT_NAME&#39;: &#39;&#39;,\n&quot;
 &quot; &#39;SERVER_NAME&#39;: &#39;iZtkx8g2tmtzfjZ&#39;,\n&quot;
 &quot; &#39;SERVER_PORT&#39;: &#39;9300&#39;,\n&quot;
 &quot; &#39;SERVER_PROTOCOL&#39;: &#39;HTTP/1.0&#39;,\n&quot;
 &quot; &#39;SERVER_SOFTWARE&#39;: &#39;WSGIServer/0.2&#39;,\n&quot;
 &quot; &#39;SHELL&#39;: &#39;/bin/bash&#39;,\n&quot;
 &quot; &#39;SHLVL&#39;: &#39;1&#39;,\n&quot;
 &quot; &#39;SSH_CLIENT&#39;: &#39;123.139.135.71 8079 22&#39;,\n&quot;
 &quot; &#39;SSH_CONNECTION&#39;: &#39;123.139.135.71 8079 120.27.159.85 22&#39;,\n&quot;
 &quot; &#39;SSH_TTY&#39;: &#39;/dev/pts/1&#39;,\n&quot;
 &quot; &#39;TERM&#39;: &#39;xterm&#39;,\n&quot;
 &quot; &#39;TZ&#39;: &#39;Asia/Shanghai&#39;,\n&quot;
 &quot; &#39;USER&#39;: &#39;root&#39;,\n&quot;
 &quot; &#39;VIRTUAL_ENV&#39;: &#39;/home/Duowei/env/py3env&#39;,\n&quot;
 &quot; &#39;_&#39;: &#39;/usr/bin/nohup&#39;,\n&quot;
 &quot; &#39;wsgi.errors&#39;: &lt;_io.TextIOWrapper name=&#39;&lt;stderr&gt;&#39; mode=&#39;w&#39; &quot;
 &quot;encoding=&#39;UTF-8&#39;&gt;,\n&quot;
 &quot; &#39;wsgi.file_wrapper&#39;: &lt;class &#39;wsgiref.util.FileWrapper&#39;&gt;,\n&quot;
 &quot; &#39;wsgi.input&#39;: &lt;_io.BufferedReader name=6&gt;,\n&quot;
 &quot; &#39;wsgi.multiprocess&#39;: False,\n&quot;
 &quot; &#39;wsgi.multithread&#39;: True,\n&quot;
 &quot; &#39;wsgi.run_once&#39;: False,\n&quot;
 &quot; &#39;wsgi.url_scheme&#39;: &#39;http&#39;,\n&quot;
 &quot; &#39;wsgi.version&#39;: (1, 0)}&gt;&quot;)</pre></td>
                  </tr>
                
                  <tr>
                    <td>get_name</td>
                    <td class="code"><pre>None</pre></td>
                  </tr>
                
              </tbody>
            </table>
          
        </li>
      
        <li class="frame django">
          <code>/home/Duowei/env/py3env/lib/python3.4/site-packages/django/db/models/manager.py</code> in <code>manager_method</code>

          
            <div class="context" id="c139999221045832">
              
                <ol start="120" class="pre-context" id="pre139999221045832">
                
                  <li onclick="toggle('pre139999221045832', 'post139999221045832')"><pre>    def check(self, **kwargs):</pre></li>
                
                  <li onclick="toggle('pre139999221045832', 'post139999221045832')"><pre>        return []</pre></li>
                
                  <li onclick="toggle('pre139999221045832', 'post139999221045832')"><pre></pre></li>
                
                  <li onclick="toggle('pre139999221045832', 'post139999221045832')"><pre>    @classmethod</pre></li>
                
                  <li onclick="toggle('pre139999221045832', 'post139999221045832')"><pre>    def _get_queryset_methods(cls, queryset_class):</pre></li>
                
                  <li onclick="toggle('pre139999221045832', 'post139999221045832')"><pre>        def create_method(name, method):</pre></li>
                
                  <li onclick="toggle('pre139999221045832', 'post139999221045832')"><pre>            def manager_method(self, *args, **kwargs):</pre></li>
                
                </ol>
              
              <ol start="127" class="context-line">
                <li onclick="toggle('pre139999221045832', 'post139999221045832')"><pre>
                            return getattr(self.get_queryset(), name)(*args, **kwargs)</pre> <span>...</span></li></ol>
              
                <ol start='128' class="post-context" id="post139999221045832">
                  
                  <li onclick="toggle('pre139999221045832', 'post139999221045832')"><pre>            manager_method.__name__ = method.__name__</pre></li>
                  
                  <li onclick="toggle('pre139999221045832', 'post139999221045832')"><pre>            manager_method.__doc__ = method.__doc__</pre></li>
                  
                  <li onclick="toggle('pre139999221045832', 'post139999221045832')"><pre>            return manager_method</pre></li>
                  
                  <li onclick="toggle('pre139999221045832', 'post139999221045832')"><pre></pre></li>
                  
                  <li onclick="toggle('pre139999221045832', 'post139999221045832')"><pre>        new_methods = {}</pre></li>
                  
                  <li onclick="toggle('pre139999221045832', 'post139999221045832')"><pre>        # Refs http://bugs.python.org/issue1785.</pre></li>
                  
              </ol>
              
            </div>
          

          
            <div class="commands">
                
                    <a href="#" onclick="return varToggle(this, '139999221045832')"><span>&#x25b6;</span> Local vars</a>
                
            </div>
            <table class="vars" id="v139999221045832">
              <thead>
                <tr>
                  <th>Variable</th>
                  <th>Value</th>
                </tr>
              </thead>
              <tbody>
                
                  <tr>
                    <td>self</td>
                    <td class="code"><pre>&lt;django.db.models.manager.Manager object at 0x7f542789ba90&gt;</pre></td>
                  </tr>
                
                  <tr>
                    <td>kwargs</td>
                    <td class="code"><pre>{&#39;cstmname__contains&#39;: None}</pre></td>
                  </tr>
                
                  <tr>
                    <td>args</td>
                    <td class="code"><pre>()</pre></td>
                  </tr>
                
                  <tr>
                    <td>name</td>
                    <td class="code"><pre>&#39;filter&#39;</pre></td>
                  </tr>
                
              </tbody>
            </table>
          
        </li>
      
        <li class="frame django">
          <code>/home/Duowei/env/py3env/lib/python3.4/site-packages/django/db/models/query.py</code> in <code>filter</code>

          
            <div class="context" id="c139999221046600">
              
                <ol start="672" class="pre-context" id="pre139999221046600">
                
                  <li onclick="toggle('pre139999221046600', 'post139999221046600')"><pre>        return self._clone()</pre></li>
                
                  <li onclick="toggle('pre139999221046600', 'post139999221046600')"><pre></pre></li>
                
                  <li onclick="toggle('pre139999221046600', 'post139999221046600')"><pre>    def filter(self, *args, **kwargs):</pre></li>
                
                  <li onclick="toggle('pre139999221046600', 'post139999221046600')"><pre>        &quot;&quot;&quot;</pre></li>
                
                  <li onclick="toggle('pre139999221046600', 'post139999221046600')"><pre>        Returns a new QuerySet instance with the args ANDed to the existing</pre></li>
                
                  <li onclick="toggle('pre139999221046600', 'post139999221046600')"><pre>        set.</pre></li>
                
                  <li onclick="toggle('pre139999221046600', 'post139999221046600')"><pre>        &quot;&quot;&quot;</pre></li>
                
                </ol>
              
              <ol start="679" class="context-line">
                <li onclick="toggle('pre139999221046600', 'post139999221046600')"><pre>
                    return self._filter_or_exclude(False, *args, **kwargs)</pre> <span>...</span></li></ol>
              
                <ol start='680' class="post-context" id="post139999221046600">
                  
                  <li onclick="toggle('pre139999221046600', 'post139999221046600')"><pre></pre></li>
                  
                  <li onclick="toggle('pre139999221046600', 'post139999221046600')"><pre>    def exclude(self, *args, **kwargs):</pre></li>
                  
                  <li onclick="toggle('pre139999221046600', 'post139999221046600')"><pre>        &quot;&quot;&quot;</pre></li>
                  
                  <li onclick="toggle('pre139999221046600', 'post139999221046600')"><pre>        Returns a new QuerySet instance with NOT (args) ANDed to the existing</pre></li>
                  
                  <li onclick="toggle('pre139999221046600', 'post139999221046600')"><pre>        set.</pre></li>
                  
                  <li onclick="toggle('pre139999221046600', 'post139999221046600')"><pre>        &quot;&quot;&quot;</pre></li>
                  
              </ol>
              
            </div>
          

          
            <div class="commands">
                
                    <a href="#" onclick="return varToggle(this, '139999221046600')"><span>&#x25b6;</span> Local vars</a>
                
            </div>
            <table class="vars" id="v139999221046600">
              <thead>
                <tr>
                  <th>Variable</th>
                  <th>Value</th>
                </tr>
              </thead>
              <tbody>
                
                  <tr>
                    <td>self</td>
                    <td class="code"><pre>[&lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &#39;...(remaining elements truncated)...&#39;]</pre></td>
                  </tr>
                
                  <tr>
                    <td>args</td>
                    <td class="code"><pre>()</pre></td>
                  </tr>
                
                  <tr>
                    <td>kwargs</td>
                    <td class="code"><pre>{&#39;cstmname__contains&#39;: None}</pre></td>
                  </tr>
                
              </tbody>
            </table>
          
        </li>
      
        <li class="frame django">
          <code>/home/Duowei/env/py3env/lib/python3.4/site-packages/django/db/models/query.py</code> in <code>_filter_or_exclude</code>

          
            <div class="context" id="c139999221043592">
              
                <ol start="690" class="pre-context" id="pre139999221043592">
                
                  <li onclick="toggle('pre139999221043592', 'post139999221043592')"><pre>            assert self.query.can_filter(), \</pre></li>
                
                  <li onclick="toggle('pre139999221043592', 'post139999221043592')"><pre>                &quot;Cannot filter a query once a slice has been taken.&quot;</pre></li>
                
                  <li onclick="toggle('pre139999221043592', 'post139999221043592')"><pre></pre></li>
                
                  <li onclick="toggle('pre139999221043592', 'post139999221043592')"><pre>        clone = self._clone()</pre></li>
                
                  <li onclick="toggle('pre139999221043592', 'post139999221043592')"><pre>        if negate:</pre></li>
                
                  <li onclick="toggle('pre139999221043592', 'post139999221043592')"><pre>            clone.query.add_q(~Q(*args, **kwargs))</pre></li>
                
                  <li onclick="toggle('pre139999221043592', 'post139999221043592')"><pre>        else:</pre></li>
                
                </ol>
              
              <ol start="697" class="context-line">
                <li onclick="toggle('pre139999221043592', 'post139999221043592')"><pre>
                        clone.query.add_q(Q(*args, **kwargs))</pre> <span>...</span></li></ol>
              
                <ol start='698' class="post-context" id="post139999221043592">
                  
                  <li onclick="toggle('pre139999221043592', 'post139999221043592')"><pre>        return clone</pre></li>
                  
                  <li onclick="toggle('pre139999221043592', 'post139999221043592')"><pre></pre></li>
                  
                  <li onclick="toggle('pre139999221043592', 'post139999221043592')"><pre>    def complex_filter(self, filter_obj):</pre></li>
                  
                  <li onclick="toggle('pre139999221043592', 'post139999221043592')"><pre>        &quot;&quot;&quot;</pre></li>
                  
                  <li onclick="toggle('pre139999221043592', 'post139999221043592')"><pre>        Returns a new QuerySet instance with filter_obj added to the filters.</pre></li>
                  
                  <li onclick="toggle('pre139999221043592', 'post139999221043592')"><pre></pre></li>
                  
              </ol>
              
            </div>
          

          
            <div class="commands">
                
                    <a href="#" onclick="return varToggle(this, '139999221043592')"><span>&#x25b6;</span> Local vars</a>
                
            </div>
            <table class="vars" id="v139999221043592">
              <thead>
                <tr>
                  <th>Variable</th>
                  <th>Value</th>
                </tr>
              </thead>
              <tbody>
                
                  <tr>
                    <td>negate</td>
                    <td class="code"><pre>False</pre></td>
                  </tr>
                
                  <tr>
                    <td>clone</td>
                    <td class="code"><pre>[&lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &#39;...(remaining elements truncated)...&#39;]</pre></td>
                  </tr>
                
                  <tr>
                    <td>args</td>
                    <td class="code"><pre>()</pre></td>
                  </tr>
                
                  <tr>
                    <td>kwargs</td>
                    <td class="code"><pre>{&#39;cstmname__contains&#39;: None}</pre></td>
                  </tr>
                
                  <tr>
                    <td>self</td>
                    <td class="code"><pre>[&lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &lt;Customer: Customer object&gt;, &#39;...(remaining elements truncated)...&#39;]</pre></td>
                  </tr>
                
              </tbody>
            </table>
          
        </li>
      
        <li class="frame django">
          <code>/home/Duowei/env/py3env/lib/python3.4/site-packages/django/db/models/sql/query.py</code> in <code>add_q</code>

          
            <div class="context" id="c139999554086984">
              
                <ol start="1294" class="pre-context" id="pre139999554086984">
                
                  <li onclick="toggle('pre139999554086984', 'post139999554086984')"><pre>        # and existing conditions. So, any existing inner join forces the join</pre></li>
                
                  <li onclick="toggle('pre139999554086984', 'post139999554086984')"><pre>        # type to remain inner. Existing outer joins can however be demoted.</pre></li>
                
                  <li onclick="toggle('pre139999554086984', 'post139999554086984')"><pre>        # (Consider case where rel_a is LOUTER and rel_a__col=1 is added - if</pre></li>
                
                  <li onclick="toggle('pre139999554086984', 'post139999554086984')"><pre>        # rel_a doesn&#39;t produce any rows, then the whole condition must fail.</pre></li>
                
                  <li onclick="toggle('pre139999554086984', 'post139999554086984')"><pre>        # So, demotion is OK.</pre></li>
                
                  <li onclick="toggle('pre139999554086984', 'post139999554086984')"><pre>        existing_inner = set(</pre></li>
                
                  <li onclick="toggle('pre139999554086984', 'post139999554086984')"><pre>            (a for a in self.alias_map if self.alias_map[a].join_type == INNER))</pre></li>
                
                </ol>
              
              <ol start="1301" class="context-line">
                <li onclick="toggle('pre139999554086984', 'post139999554086984')"><pre>
                    clause, require_inner = self._add_q(where_part, self.used_aliases)</pre> <span>...</span></li></ol>
              
                <ol start='1302' class="post-context" id="post139999554086984">
                  
                  <li onclick="toggle('pre139999554086984', 'post139999554086984')"><pre>        self.where.add(clause, AND)</pre></li>
                  
                  <li onclick="toggle('pre139999554086984', 'post139999554086984')"><pre>        for hp in having_parts:</pre></li>
                  
                  <li onclick="toggle('pre139999554086984', 'post139999554086984')"><pre>            clause, _ = self._add_q(hp, self.used_aliases)</pre></li>
                  
                  <li onclick="toggle('pre139999554086984', 'post139999554086984')"><pre>            self.having.add(clause, AND)</pre></li>
                  
                  <li onclick="toggle('pre139999554086984', 'post139999554086984')"><pre>        self.demote_joins(existing_inner)</pre></li>
                  
                  <li onclick="toggle('pre139999554086984', 'post139999554086984')"><pre></pre></li>
                  
              </ol>
              
            </div>
          

          
            <div class="commands">
                
                    <a href="#" onclick="return varToggle(this, '139999554086984')"><span>&#x25b6;</span> Local vars</a>
                
            </div>
            <table class="vars" id="v139999554086984">
              <thead>
                <tr>
                  <th>Variable</th>
                  <th>Value</th>
                </tr>
              </thead>
              <tbody>
                
                  <tr>
                    <td>existing_inner</td>
                    <td class="code"><pre>set()</pre></td>
                  </tr>
                
                  <tr>
                    <td>self</td>
                    <td class="code"><pre>&lt;django.db.models.sql.query.Query object at 0x7f542401f438&gt;</pre></td>
                  </tr>
                
                  <tr>
                    <td>where_part</td>
                    <td class="code"><pre>&lt;Q: (AND: (&#39;cstmname__contains&#39;, None))&gt;</pre></td>
                  </tr>
                
                  <tr>
                    <td>q_object</td>
                    <td class="code"><pre>&lt;Q: (AND: (&#39;cstmname__contains&#39;, None))&gt;</pre></td>
                  </tr>
                
                  <tr>
                    <td>having_parts</td>
                    <td class="code"><pre>[]</pre></td>
                  </tr>
                
              </tbody>
            </table>
          
        </li>
      
        <li class="frame django">
          <code>/home/Duowei/env/py3env/lib/python3.4/site-packages/django/db/models/sql/query.py</code> in <code>_add_q</code>

          
            <div class="context" id="c139999509857608">
              
                <ol start="1321" class="pre-context" id="pre139999509857608">
                
                  <li onclick="toggle('pre139999509857608', 'post139999509857608')"><pre>                child_clause, needed_inner = self._add_q(</pre></li>
                
                  <li onclick="toggle('pre139999509857608', 'post139999509857608')"><pre>                    child, used_aliases, branch_negated,</pre></li>
                
                  <li onclick="toggle('pre139999509857608', 'post139999509857608')"><pre>                    current_negated, allow_joins)</pre></li>
                
                  <li onclick="toggle('pre139999509857608', 'post139999509857608')"><pre>                joinpromoter.add_votes(needed_inner)</pre></li>
                
                  <li onclick="toggle('pre139999509857608', 'post139999509857608')"><pre>            else:</pre></li>
                
                  <li onclick="toggle('pre139999509857608', 'post139999509857608')"><pre>                child_clause, needed_inner = self.build_filter(</pre></li>
                
                  <li onclick="toggle('pre139999509857608', 'post139999509857608')"><pre>                    child, can_reuse=used_aliases, branch_negated=branch_negated,</pre></li>
                
                </ol>
              
              <ol start="1328" class="context-line">
                <li onclick="toggle('pre139999509857608', 'post139999509857608')"><pre>
                                current_negated=current_negated, connector=connector, allow_joins=allow_joins)</pre> <span>...</span></li></ol>
              
                <ol start='1329' class="post-context" id="post139999509857608">
                  
                  <li onclick="toggle('pre139999509857608', 'post139999509857608')"><pre>                joinpromoter.add_votes(needed_inner)</pre></li>
                  
                  <li onclick="toggle('pre139999509857608', 'post139999509857608')"><pre>            target_clause.add(child_clause, connector)</pre></li>
                  
                  <li onclick="toggle('pre139999509857608', 'post139999509857608')"><pre>        needed_inner = joinpromoter.update_join_types(self)</pre></li>
                  
                  <li onclick="toggle('pre139999509857608', 'post139999509857608')"><pre>        return target_clause, needed_inner</pre></li>
                  
                  <li onclick="toggle('pre139999509857608', 'post139999509857608')"><pre></pre></li>
                  
                  <li onclick="toggle('pre139999509857608', 'post139999509857608')"><pre>    def names_to_path(self, names, opts, allow_many=True, fail_on_missing=False):</pre></li>
                  
              </ol>
              
            </div>
          

          
            <div class="commands">
                
                    <a href="#" onclick="return varToggle(this, '139999509857608')"><span>&#x25b6;</span> Local vars</a>
                
            </div>
            <table class="vars" id="v139999509857608">
              <thead>
                <tr>
                  <th>Variable</th>
                  <th>Value</th>
                </tr>
              </thead>
              <tbody>
                
                  <tr>
                    <td>self</td>
                    <td class="code"><pre>&lt;django.db.models.sql.query.Query object at 0x7f542401f438&gt;</pre></td>
                  </tr>
                
                  <tr>
                    <td>current_negated</td>
                    <td class="code"><pre>False</pre></td>
                  </tr>
                
                  <tr>
                    <td>connector</td>
                    <td class="code"><pre>&#39;AND&#39;</pre></td>
                  </tr>
                
                  <tr>
                    <td>joinpromoter</td>
                    <td class="code"><pre>&lt;django.db.models.sql.query.JoinPromoter object at 0x7f542401f588&gt;</pre></td>
                  </tr>
                
                  <tr>
                    <td>target_clause</td>
                    <td class="code"><pre>&lt;WhereNode: (AND: )&gt;</pre></td>
                  </tr>
                
                  <tr>
                    <td>used_aliases</td>
                    <td class="code"><pre>set()</pre></td>
                  </tr>
                
                  <tr>
                    <td>branch_negated</td>
                    <td class="code"><pre>False</pre></td>
                  </tr>
                
                  <tr>
                    <td>q_object</td>
                    <td class="code"><pre>&lt;Q: (AND: (&#39;cstmname__contains&#39;, None))&gt;</pre></td>
                  </tr>
                
                  <tr>
                    <td>allow_joins</td>
                    <td class="code"><pre>True</pre></td>
                  </tr>
                
                  <tr>
                    <td>child</td>
                    <td class="code"><pre>(&#39;cstmname__contains&#39;, None)</pre></td>
                  </tr>
                
              </tbody>
            </table>
          
        </li>
      
        <li class="frame django">
          <code>/home/Duowei/env/py3env/lib/python3.4/site-packages/django/db/models/sql/query.py</code> in <code>build_filter</code>

          
            <div class="context" id="c139999416956424">
              
                <ol start="1143" class="pre-context" id="pre139999416956424">
                
                  <li onclick="toggle('pre139999416956424', 'post139999416956424')"><pre>            raise FieldError(&quot;Cannot parse keyword query %r&quot; % arg)</pre></li>
                
                  <li onclick="toggle('pre139999416956424', 'post139999416956424')"><pre>        lookups, parts, reffed_aggregate = self.solve_lookup_type(arg)</pre></li>
                
                  <li onclick="toggle('pre139999416956424', 'post139999416956424')"><pre>        if not allow_joins and len(parts) &gt; 1:</pre></li>
                
                  <li onclick="toggle('pre139999416956424', 'post139999416956424')"><pre>            raise FieldError(&quot;Joined field references are not permitted in this query&quot;)</pre></li>
                
                  <li onclick="toggle('pre139999416956424', 'post139999416956424')"><pre></pre></li>
                
                  <li onclick="toggle('pre139999416956424', 'post139999416956424')"><pre>        # Work out the lookup type and remove it from the end of &#39;parts&#39;,</pre></li>
                
                  <li onclick="toggle('pre139999416956424', 'post139999416956424')"><pre>        # if necessary.</pre></li>
                
                </ol>
              
              <ol start="1150" class="context-line">
                <li onclick="toggle('pre139999416956424', 'post139999416956424')"><pre>
                    value, lookups, used_joins = self.prepare_lookup_value(value, lookups, can_reuse, allow_joins)</pre> <span>...</span></li></ol>
              
                <ol start='1151' class="post-context" id="post139999416956424">
                  
                  <li onclick="toggle('pre139999416956424', 'post139999416956424')"><pre></pre></li>
                  
                  <li onclick="toggle('pre139999416956424', 'post139999416956424')"><pre>        clause = self.where_class()</pre></li>
                  
                  <li onclick="toggle('pre139999416956424', 'post139999416956424')"><pre>        if reffed_aggregate:</pre></li>
                  
                  <li onclick="toggle('pre139999416956424', 'post139999416956424')"><pre>            condition = self.build_lookup(lookups, reffed_aggregate, value)</pre></li>
                  
                  <li onclick="toggle('pre139999416956424', 'post139999416956424')"><pre>            if not condition:</pre></li>
                  
                  <li onclick="toggle('pre139999416956424', 'post139999416956424')"><pre>                # Backwards compat for custom lookups</pre></li>
                  
              </ol>
              
            </div>
          

          
            <div class="commands">
                
                    <a href="#" onclick="return varToggle(this, '139999416956424')"><span>&#x25b6;</span> Local vars</a>
                
            </div>
            <table class="vars" id="v139999416956424">
              <thead>
                <tr>
                  <th>Variable</th>
                  <th>Value</th>
                </tr>
              </thead>
              <tbody>
                
                  <tr>
                    <td>arg</td>
                    <td class="code"><pre>&#39;cstmname__contains&#39;</pre></td>
                  </tr>
                
                  <tr>
                    <td>lookups</td>
                    <td class="code"><pre>[&#39;contains&#39;]</pre></td>
                  </tr>
                
                  <tr>
                    <td>reffed_aggregate</td>
                    <td class="code"><pre>False</pre></td>
                  </tr>
                
                  <tr>
                    <td>value</td>
                    <td class="code"><pre>None</pre></td>
                  </tr>
                
                  <tr>
                    <td>branch_negated</td>
                    <td class="code"><pre>False</pre></td>
                  </tr>
                
                  <tr>
                    <td>self</td>
                    <td class="code"><pre>&lt;django.db.models.sql.query.Query object at 0x7f542401f438&gt;</pre></td>
                  </tr>
                
                  <tr>
                    <td>parts</td>
                    <td class="code"><pre>[&#39;cstmname&#39;]</pre></td>
                  </tr>
                
                  <tr>
                    <td>connector</td>
                    <td class="code"><pre>&#39;AND&#39;</pre></td>
                  </tr>
                
                  <tr>
                    <td>filter_expr</td>
                    <td class="code"><pre>(&#39;cstmname__contains&#39;, None)</pre></td>
                  </tr>
                
                  <tr>
                    <td>can_reuse</td>
                    <td class="code"><pre>set()</pre></td>
                  </tr>
                
                  <tr>
                    <td>allow_joins</td>
                    <td class="code"><pre>True</pre></td>
                  </tr>
                
                  <tr>
                    <td>current_negated</td>
                    <td class="code"><pre>False</pre></td>
                  </tr>
                
              </tbody>
            </table>
          
        </li>
      
        <li class="frame django">
          <code>/home/Duowei/env/py3env/lib/python3.4/site-packages/django/db/models/sql/query.py</code> in <code>prepare_lookup_value</code>

          
            <div class="context" id="c139999416956168">
              
                <ol start="983" class="pre-context" id="pre139999416956168">
                
                  <li onclick="toggle('pre139999416956168', 'post139999416956168')"><pre>        used_joins = []</pre></li>
                
                  <li onclick="toggle('pre139999416956168', 'post139999416956168')"><pre>        if len(lookups) == 0:</pre></li>
                
                  <li onclick="toggle('pre139999416956168', 'post139999416956168')"><pre>            lookups = [&#39;exact&#39;]</pre></li>
                
                  <li onclick="toggle('pre139999416956168', 'post139999416956168')"><pre>        # Interpret &#39;__exact=None&#39; as the sql &#39;is NULL&#39;; otherwise, reject all</pre></li>
                
                  <li onclick="toggle('pre139999416956168', 'post139999416956168')"><pre>        # uses of None as a query value.</pre></li>
                
                  <li onclick="toggle('pre139999416956168', 'post139999416956168')"><pre>        if value is None:</pre></li>
                
                  <li onclick="toggle('pre139999416956168', 'post139999416956168')"><pre>            if lookups[-1] not in (&#39;exact&#39;, &#39;iexact&#39;):</pre></li>
                
                </ol>
              
              <ol start="990" class="context-line">
                <li onclick="toggle('pre139999416956168', 'post139999416956168')"><pre>
                            raise ValueError(&quot;Cannot use None as a query value&quot;)</pre> <span>...</span></li></ol>
              
                <ol start='991' class="post-context" id="post139999416956168">
                  
                  <li onclick="toggle('pre139999416956168', 'post139999416956168')"><pre>            lookups[-1] = &#39;isnull&#39;</pre></li>
                  
                  <li onclick="toggle('pre139999416956168', 'post139999416956168')"><pre>            value = True</pre></li>
                  
                  <li onclick="toggle('pre139999416956168', 'post139999416956168')"><pre>        elif callable(value):</pre></li>
                  
                  <li onclick="toggle('pre139999416956168', 'post139999416956168')"><pre>            warnings.warn(</pre></li>
                  
                  <li onclick="toggle('pre139999416956168', 'post139999416956168')"><pre>                &quot;Passing callable arguments to queryset is deprecated.&quot;,</pre></li>
                  
                  <li onclick="toggle('pre139999416956168', 'post139999416956168')"><pre>                RemovedInDjango19Warning, stacklevel=2)</pre></li>
                  
              </ol>
              
            </div>
          

          
            <div class="commands">
                
                    <a href="#" onclick="return varToggle(this, '139999416956168')"><span>&#x25b6;</span> Local vars</a>
                
            </div>
            <table class="vars" id="v139999416956168">
              <thead>
                <tr>
                  <th>Variable</th>
                  <th>Value</th>
                </tr>
              </thead>
              <tbody>
                
                  <tr>
                    <td>self</td>
                    <td class="code"><pre>&lt;django.db.models.sql.query.Query object at 0x7f542401f438&gt;</pre></td>
                  </tr>
                
                  <tr>
                    <td>lookups</td>
                    <td class="code"><pre>[&#39;contains&#39;]</pre></td>
                  </tr>
                
                  <tr>
                    <td>used_joins</td>
                    <td class="code"><pre>[]</pre></td>
                  </tr>
                
                  <tr>
                    <td>can_reuse</td>
                    <td class="code"><pre>set()</pre></td>
                  </tr>
                
                  <tr>
                    <td>allow_joins</td>
                    <td class="code"><pre>True</pre></td>
                  </tr>
                
                  <tr>
                    <td>value</td>
                    <td class="code"><pre>None</pre></td>
                  </tr>
                
              </tbody>
            </table>
          
        </li>
      
    </ul>
  </div>
  
  <form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post">

  <div id="pastebinTraceback" class="pastebin">
    <input type="hidden" name="language" value="PythonConsole">
    <input type="hidden" name="title"
      value="ValueError at /DwCstmQuickSearch/">
    <input type="hidden" name="source" value="Django Dpaste Agent">
    <input type="hidden" name="poster" value="Django">
    <textarea name="content" id="traceback_area" cols="140" rows="25">
Environment:


Request Method: GET
Request URL: http://localhost:9300/DwCstmQuickSearch/?UserName=%E6%A8%B1%E8%8A%B1%E6%97%A5%E5%A6%86%E7%A4%BE

Django Version: 1.8
Python Version: 3.4.4
Installed Applications:
(&#39;django.contrib.admin&#39;,
 &#39;django.contrib.auth&#39;,
 &#39;django.contrib.contenttypes&#39;,
 &#39;django.contrib.sessions&#39;,
 &#39;django.contrib.messages&#39;,
 &#39;django.contrib.staticfiles&#39;,
 &#39;dw&#39;,
 &#39;corsheaders&#39;,
 &#39;django_crontab&#39;)
Installed Middleware:
(&#39;django.middleware.security.SecurityMiddleware&#39;,
 &#39;django.contrib.sessions.middleware.SessionMiddleware&#39;,
 &#39;corsheaders.middleware.CorsMiddleware&#39;,
 &#39;django.middleware.common.CommonMiddleware&#39;,
 &#39;django.contrib.auth.middleware.AuthenticationMiddleware&#39;,
 &#39;django.contrib.auth.middleware.SessionAuthenticationMiddleware&#39;,
 &#39;django.contrib.messages.middleware.MessageMiddleware&#39;,
 &#39;django.middleware.clickjacking.XFrameOptionsMiddleware&#39;)


Traceback:
File "/home/Duowei/env/py3env/lib/python3.4/site-packages/django/core/handlers/base.py" in get_response
  132.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/Dw/DW/dw/views.py" in DwCstmQuickSearch
  5034.     Search = Customer.objects.filter(cstmname__contains=get_name).order_by(&#39;-cstmdate&#39;)
File "/home/Duowei/env/py3env/lib/python3.4/site-packages/django/db/models/manager.py" in manager_method
  127.                 return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/home/Duowei/env/py3env/lib/python3.4/site-packages/django/db/models/query.py" in filter
  679.         return self._filter_or_exclude(False, *args, **kwargs)
File "/home/Duowei/env/py3env/lib/python3.4/site-packages/django/db/models/query.py" in _filter_or_exclude
  697.             clone.query.add_q(Q(*args, **kwargs))
File "/home/Duowei/env/py3env/lib/python3.4/site-packages/django/db/models/sql/query.py" in add_q
  1301.         clause, require_inner = self._add_q(where_part, self.used_aliases)
File "/home/Duowei/env/py3env/lib/python3.4/site-packages/django/db/models/sql/query.py" in _add_q
  1328.                     current_negated=current_negated, connector=connector, allow_joins=allow_joins)
File "/home/Duowei/env/py3env/lib/python3.4/site-packages/django/db/models/sql/query.py" in build_filter
  1150.         value, lookups, used_joins = self.prepare_lookup_value(value, lookups, can_reuse, allow_joins)
File "/home/Duowei/env/py3env/lib/python3.4/site-packages/django/db/models/sql/query.py" in prepare_lookup_value
  990.                 raise ValueError(&quot;Cannot use None as a query value&quot;)

Exception Type: ValueError at /DwCstmQuickSearch/
Exception Value: Cannot use None as a query value
</textarea>
  <br><br>
  <input type="submit" value="Share this traceback on a public Web site">
  </div>
</form>
</div>



<div id="requestinfo">
  <h2>Request information</h2>


  <h3 id="get-info">GET</h3>
  
    <table class="req">
      <thead>
        <tr>
          <th>Variable</th>
          <th>Value</th>
        </tr>
      </thead>
      <tbody>
        
          <tr>
            <td>UserName</td>
            <td class="code"><pre>&#39;樱花日妆社&#39;</pre></td>
          </tr>
        
      </tbody>
    </table>
  

  <h3 id="post-info">POST</h3>
  
    <p>No POST data</p>
  
  <h3 id="files-info">FILES</h3>
  
    <p>No FILES data</p>
  


  <h3 id="cookie-info">COOKIES</h3>
  
    <p>No cookie data</p>
  

  <h3 id="meta-info">META</h3>
  <table class="req">
    <thead>
      <tr>
        <th>Variable</th>
        <th>Value</th>
      </tr>
    </thead>
    <tbody>
      
        <tr>
          <td>SSH_TTY</td>
          <td class="code"><pre>&#39;/dev/pts/1&#39;</pre></td>
        </tr>
      
        <tr>
          <td>REQUEST_METHOD</td>
          <td class="code"><pre>&#39;GET&#39;</pre></td>
        </tr>
      
        <tr>
          <td>PATH</td>
          <td class="code"><pre>&#39;/home/Duowei/env/py3env/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/git/bin:/root/bin&#39;</pre></td>
        </tr>
      
        <tr>
          <td>TZ</td>
          <td class="code"><pre>&#39;Asia/Shanghai&#39;</pre></td>
        </tr>
      
        <tr>
          <td>HTTP_REFERER</td>
          <td class="code"><pre>&#39;http://www.duoweish.com/crm/buser_manage.html?q=%E6%A8%B1%E8%8A%B1%E6%97%A5%E5%A6%86%E7%A4%BE&amp;search=&#39;</pre></td>
        </tr>
      
        <tr>
          <td>MAIL</td>
          <td class="code"><pre>&#39;/var/spool/mail/root&#39;</pre></td>
        </tr>
      
        <tr>
          <td>HTTP_ACCEPT_ENCODING</td>
          <td class="code"><pre>&#39;gzip, deflate&#39;</pre></td>
        </tr>
      
        <tr>
          <td>CVS_RSH</td>
          <td class="code"><pre>&#39;ssh&#39;</pre></td>
        </tr>
      
        <tr>
          <td>SCRIPT_NAME</td>
          <td class="code"><pre>&#39;&#39;</pre></td>
        </tr>
      
        <tr>
          <td>CONTENT_LENGTH</td>
          <td class="code"><pre>&#39;&#39;</pre></td>
        </tr>
      
        <tr>
          <td>HTTP_CONNECTION</td>
          <td class="code"><pre>&#39;close&#39;</pre></td>
        </tr>
      
        <tr>
          <td>TERM</td>
          <td class="code"><pre>&#39;xterm&#39;</pre></td>
        </tr>
      
        <tr>
          <td>SSH_CLIENT</td>
          <td class="code"><pre>&#39;123.139.135.71 8079 22&#39;</pre></td>
        </tr>
      
        <tr>
          <td>SSH_CONNECTION</td>
          <td class="code"><pre>&#39;123.139.135.71 8079 120.27.159.85 22&#39;</pre></td>
        </tr>
      
        <tr>
          <td>HTTP_HOST</td>
          <td class="code"><pre>&#39;localhost:9300&#39;</pre></td>
        </tr>
      
        <tr>
          <td>USER</td>
          <td class="code"><pre>&#39;root&#39;</pre></td>
        </tr>
      
        <tr>
          <td>wsgi.url_scheme</td>
          <td class="code"><pre>&#39;http&#39;</pre></td>
        </tr>
      
        <tr>
          <td>QUERY_STRING</td>
          <td class="code"><pre>&#39;UserName=%E6%A8%B1%E8%8A%B1%E6%97%A5%E5%A6%86%E7%A4%BE&#39;</pre></td>
        </tr>
      
        <tr>
          <td>_</td>
          <td class="code"><pre>&#39;/usr/bin/nohup&#39;</pre></td>
        </tr>
      
        <tr>
          <td>RUN_MAIN</td>
          <td class="code"><pre>&#39;true&#39;</pre></td>
        </tr>
      
        <tr>
          <td>LS_COLORS</td>
          <td class="code"><pre>&#39;rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:&#39;</pre></td>
        </tr>
      
        <tr>
          <td>HISTCONTROL</td>
          <td class="code"><pre>&#39;ignoredups&#39;</pre></td>
        </tr>
      
        <tr>
          <td>LANG</td>
          <td class="code"><pre>&#39;en_US.UTF-8&#39;</pre></td>
        </tr>
      
        <tr>
          <td>REMOTE_HOST</td>
          <td class="code"><pre>&#39;&#39;</pre></td>
        </tr>
      
        <tr>
          <td>DJANGO_SETTINGS_MODULE</td>
          <td class="code"><pre>&#39;Dw.settings&#39;</pre></td>
        </tr>
      
        <tr>
          <td>LESSOPEN</td>
          <td class="code"><pre>&#39;||/usr/bin/lesspipe.sh %s&#39;</pre></td>
        </tr>
      
        <tr>
          <td>HOME</td>
          <td class="code"><pre>&#39;/root&#39;</pre></td>
        </tr>
      
        <tr>
          <td>OLDPWD</td>
          <td class="code"><pre>&#39;/home/Dw/DW/Dw&#39;</pre></td>
        </tr>
      
        <tr>
          <td>PWD</td>
          <td class="code"><pre>&#39;/home/Dw/DW&#39;</pre></td>
        </tr>
      
        <tr>
          <td>HISTSIZE</td>
          <td class="code"><pre>&#39;1000&#39;</pre></td>
        </tr>
      
        <tr>
          <td>SHLVL</td>
          <td class="code"><pre>&#39;1&#39;</pre></td>
        </tr>
      
        <tr>
          <td>wsgi.multithread</td>
          <td class="code"><pre>True</pre></td>
        </tr>
      
        <tr>
          <td>HTTP_ACCEPT_LANGUAGE</td>
          <td class="code"><pre>&#39;zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2&#39;</pre></td>
        </tr>
      
        <tr>
          <td>wsgi.version</td>
          <td class="code"><pre>(1, 0)</pre></td>
        </tr>
      
        <tr>
          <td>SERVER_NAME</td>
          <td class="code"><pre>&#39;iZtkx8g2tmtzfjZ&#39;</pre></td>
        </tr>
      
        <tr>
          <td>PS1</td>
          <td class="code"><pre>&#39;(py3env) [\\u@\\h \\W]\\$ &#39;</pre></td>
        </tr>
      
        <tr>
          <td>SERVER_PROTOCOL</td>
          <td class="code"><pre>&#39;HTTP/1.0&#39;</pre></td>
        </tr>
      
        <tr>
          <td>VIRTUAL_ENV</td>
          <td class="code"><pre>&#39;/home/Duowei/env/py3env&#39;</pre></td>
        </tr>
      
        <tr>
          <td>wsgi.file_wrapper</td>
          <td class="code"><pre>&#39;&#39;</pre></td>
        </tr>
      
        <tr>
          <td>wsgi.errors</td>
          <td class="code"><pre>&lt;_io.TextIOWrapper name=&#39;&lt;stderr&gt;&#39; mode=&#39;w&#39; encoding=&#39;UTF-8&#39;&gt;</pre></td>
        </tr>
      
        <tr>
          <td>wsgi.multiprocess</td>
          <td class="code"><pre>False</pre></td>
        </tr>
      
        <tr>
          <td>CONTENT_TYPE</td>
          <td class="code"><pre>&#39;text/plain&#39;</pre></td>
        </tr>
      
        <tr>
          <td>HTTP_ACCEPT</td>
          <td class="code"><pre>&#39;*/*&#39;</pre></td>
        </tr>
      
        <tr>
          <td>HOSTNAME</td>
          <td class="code"><pre>&#39;iZtkx8g2tmtzfjZ&#39;</pre></td>
        </tr>
      
        <tr>
          <td>G_BROKEN_FILENAMES</td>
          <td class="code"><pre>&#39;1&#39;</pre></td>
        </tr>
      
        <tr>
          <td>wsgi.run_once</td>
          <td class="code"><pre>False</pre></td>
        </tr>
      
        <tr>
          <td>PATH_INFO</td>
          <td class="code"><pre>&#39;/DwCstmQuickSearch/&#39;</pre></td>
        </tr>
      
        <tr>
          <td>REMOTE_ADDR</td>
          <td class="code"><pre>&#39;127.0.0.1&#39;</pre></td>
        </tr>
      
        <tr>
          <td>LOGNAME</td>
          <td class="code"><pre>&#39;root&#39;</pre></td>
        </tr>
      
        <tr>
          <td>SHELL</td>
          <td class="code"><pre>&#39;/bin/bash&#39;</pre></td>
        </tr>
      
        <tr>
          <td>HTTP_ORIGIN</td>
          <td class="code"><pre>&#39;http://127.0.0.1:8020&#39;</pre></td>
        </tr>
      
        <tr>
          <td>HTTP_USER_AGENT</td>
          <td class="code"><pre>&#39;Mozilla/5.0 (Windows NT 10.0; WOW64; rv:61.0) Gecko/20100101 Firefox/61.0&#39;</pre></td>
        </tr>
      
        <tr>
          <td>SERVER_PORT</td>
          <td class="code"><pre>&#39;9300&#39;</pre></td>
        </tr>
      
        <tr>
          <td>wsgi.input</td>
          <td class="code"><pre>&lt;_io.BufferedReader name=6&gt;</pre></td>
        </tr>
      
        <tr>
          <td>GATEWAY_INTERFACE</td>
          <td class="code"><pre>&#39;CGI/1.1&#39;</pre></td>
        </tr>
      
        <tr>
          <td>SERVER_SOFTWARE</td>
          <td class="code"><pre>&#39;WSGIServer/0.2&#39;</pre></td>
        </tr>
      
    </tbody>
  </table>


  <h3 id="settings-info">Settings</h3>
  <h4>Using settings module <code>Dw.settings</code></h4>
  <table class="req">
    <thead>
      <tr>
        <th>Setting</th>
        <th>Value</th>
      </tr>
    </thead>
    <tbody>
      
        <tr>
          <td>DEFAULT_CONTENT_TYPE</td>
          <td class="code"><pre>&#39;text/html&#39;</pre></td>
        </tr>
      
        <tr>
          <td>CORS_ORIGIN_ALLOW_ALL</td>
          <td class="code"><pre>True</pre></td>
        </tr>
      
        <tr>
          <td>SESSION_SAVE_EVERY_REQUEST</td>
          <td class="code"><pre>False</pre></td>
        </tr>
      
        <tr>
          <td>INSTALLED_APPS</td>
          <td class="code"><pre>(&#39;django.contrib.admin&#39;,
 &#39;django.contrib.auth&#39;,
 &#39;django.contrib.contenttypes&#39;,
 &#39;django.contrib.sessions&#39;,
 &#39;django.contrib.messages&#39;,
 &#39;django.contrib.staticfiles&#39;,
 &#39;dw&#39;,
 &#39;corsheaders&#39;,
 &#39;django_crontab&#39;)</pre></td>
        </tr>
      
        <tr>
          <td>MESSAGE_STORAGE</td>
          <td class="code"><pre>&#39;django.contrib.messages.storage.fallback.FallbackStorage&#39;</pre></td>
        </tr>
      
        <tr>
          <td>DECIMAL_SEPARATOR</td>
          <td class="code"><pre>&#39;.&#39;</pre></td>
        </tr>
      
        <tr>
          <td>STATIC_URL</td>
          <td class="code"><pre>&#39;/static/&#39;</pre></td>
        </tr>
      
        <tr>
          <td>EMAIL_HOST</td>
          <td class="code"><pre>&#39;localhost&#39;</pre></td>
        </tr>
      
        <tr>
          <td>SECURE_SSL_HOST</td>
          <td class="code"><pre>None</pre></td>
        </tr>
      
        <tr>
          <td>STATICFILES_FINDERS</td>
          <td class="code"><pre>(&#39;django.contrib.staticfiles.finders.FileSystemFinder&#39;,
 &#39;django.contrib.staticfiles.finders.AppDirectoriesFinder&#39;)</pre></td>
        </tr>
      
        <tr>
          <td>SECURE_REDIRECT_EXEMPT</td>
          <td class="code"><pre>[]</pre></td>
        </tr>
      
        <tr>
          <td>TEMPLATE_LOADERS</td>
          <td class="code"><pre>(&#39;django.template.loaders.filesystem.Loader&#39;,
 &#39;django.template.loaders.app_directories.Loader&#39;)</pre></td>
        </tr>
      
        <tr>
          <td>EMAIL_HOST_PASSWORD</td>
          <td class="code"><pre>&#39;********************&#39;</pre></td>
        </tr>
      
        <tr>
          <td>FILE_UPLOAD_HANDLERS</td>
          <td class="code"><pre>(&#39;django.core.files.uploadhandler.MemoryFileUploadHandler&#39;,
 &#39;django.core.files.uploadhandler.TemporaryFileUploadHandler&#39;)</pre></td>
        </tr>
      
        <tr>
          <td>EMAIL_HOST_USER</td>
          <td class="code"><pre>&#39;&#39;</pre></td>
        </tr>
      
        <tr>
          <td>DATETIME_FORMAT</td>
          <td class="code"><pre>&#39;N j, Y, P&#39;</pre></td>
        </tr>
      
        <tr>
          <td>DEBUG_PROPAGATE_EXCEPTIONS</td>
          <td class="code"><pre>False</pre></td>
        </tr>
      
        <tr>
          <td>EMAIL_USE_SSL</td>
          <td class="code"><pre>False</pre></td>
        </tr>
      
        <tr>
          <td>DEFAULT_INDEX_TABLESPACE</td>
          <td class="code"><pre>&#39;&#39;</pre></td>
        </tr>
      
        <tr>
          <td>DEBUG</td>
          <td class="code"><pre>True</pre></td>
        </tr>
      
        <tr>
          <td>FIXTURE_DIRS</td>
          <td class="code"><pre>()</pre></td>
        </tr>
      
        <tr>
          <td>SILENCED_SYSTEM_CHECKS</td>
          <td class="code"><pre>[]</pre></td>
        </tr>
      
        <tr>
          <td>TEMPLATE_DEBUG</td>
          <td class="code"><pre>False</pre></td>
        </tr>
      
        <tr>
          <td>PASSWORD_HASHERS</td>
          <td class="code"><pre>&#39;********************&#39;</pre></td>
        </tr>
      
        <tr>
          <td>SECURE_HSTS_SECONDS</td>
          <td class="code"><pre>0</pre></td>
        </tr>
      
        <tr>
          <td>MONTH_DAY_FORMAT</td>
          <td class="code"><pre>&#39;F j&#39;</pre></td>
        </tr>
      
        <tr>
          <td>FORMAT_MODULE_PATH</td>
          <td class="code"><pre>None</pre></td>
        </tr>
      
        <tr>
          <td>SECRET_KEY</td>
          <td class="code"><pre>&#39;********************&#39;</pre></td>
        </tr>
      
        <tr>
          <td>X_FRAME_OPTIONS</td>
          <td class="code"><pre>&#39;SAMEORIGIN&#39;</pre></td>
        </tr>
      
        <tr>
          <td>LANGUAGES</td>
          <td class="code"><pre>((&#39;af&#39;, &#39;Afrikaans&#39;),
 (&#39;ar&#39;, &#39;Arabic&#39;),
 (&#39;ast&#39;, &#39;Asturian&#39;),
 (&#39;az&#39;, &#39;Azerbaijani&#39;),
 (&#39;bg&#39;, &#39;Bulgarian&#39;),
 (&#39;be&#39;, &#39;Belarusian&#39;),
 (&#39;bn&#39;, &#39;Bengali&#39;),
 (&#39;br&#39;, &#39;Breton&#39;),
 (&#39;bs&#39;, &#39;Bosnian&#39;),
 (&#39;ca&#39;, &#39;Catalan&#39;),
 (&#39;cs&#39;, &#39;Czech&#39;),
 (&#39;cy&#39;, &#39;Welsh&#39;),
 (&#39;da&#39;, &#39;Danish&#39;),
 (&#39;de&#39;, &#39;German&#39;),
 (&#39;el&#39;, &#39;Greek&#39;),
 (&#39;en&#39;, &#39;English&#39;),
 (&#39;en-au&#39;, &#39;Australian English&#39;),
 (&#39;en-gb&#39;, &#39;British English&#39;),
 (&#39;eo&#39;, &#39;Esperanto&#39;),
 (&#39;es&#39;, &#39;Spanish&#39;),
 (&#39;es-ar&#39;, &#39;Argentinian Spanish&#39;),
 (&#39;es-mx&#39;, &#39;Mexican Spanish&#39;),
 (&#39;es-ni&#39;, &#39;Nicaraguan Spanish&#39;),
 (&#39;es-ve&#39;, &#39;Venezuelan Spanish&#39;),
 (&#39;et&#39;, &#39;Estonian&#39;),
 (&#39;eu&#39;, &#39;Basque&#39;),
 (&#39;fa&#39;, &#39;Persian&#39;),
 (&#39;fi&#39;, &#39;Finnish&#39;),
 (&#39;fr&#39;, &#39;French&#39;),
 (&#39;fy&#39;, &#39;Frisian&#39;),
 (&#39;ga&#39;, &#39;Irish&#39;),
 (&#39;gl&#39;, &#39;Galician&#39;),
 (&#39;he&#39;, &#39;Hebrew&#39;),
 (&#39;hi&#39;, &#39;Hindi&#39;),
 (&#39;hr&#39;, &#39;Croatian&#39;),
 (&#39;hu&#39;, &#39;Hungarian&#39;),
 (&#39;ia&#39;, &#39;Interlingua&#39;),
 (&#39;id&#39;, &#39;Indonesian&#39;),
 (&#39;io&#39;, &#39;Ido&#39;),
 (&#39;is&#39;, &#39;Icelandic&#39;),
 (&#39;it&#39;, &#39;Italian&#39;),
 (&#39;ja&#39;, &#39;Japanese&#39;),
 (&#39;ka&#39;, &#39;Georgian&#39;),
 (&#39;kk&#39;, &#39;Kazakh&#39;),
 (&#39;km&#39;, &#39;Khmer&#39;),
 (&#39;kn&#39;, &#39;Kannada&#39;),
 (&#39;ko&#39;, &#39;Korean&#39;),
 (&#39;lb&#39;, &#39;Luxembourgish&#39;),
 (&#39;lt&#39;, &#39;Lithuanian&#39;),
 (&#39;lv&#39;, &#39;Latvian&#39;),
 (&#39;mk&#39;, &#39;Macedonian&#39;),
 (&#39;ml&#39;, &#39;Malayalam&#39;),
 (&#39;mn&#39;, &#39;Mongolian&#39;),
 (&#39;mr&#39;, &#39;Marathi&#39;),
 (&#39;my&#39;, &#39;Burmese&#39;),
 (&#39;nb&#39;, &#39;Norwegian Bokmal&#39;),
 (&#39;ne&#39;, &#39;Nepali&#39;),
 (&#39;nl&#39;, &#39;Dutch&#39;),
 (&#39;nn&#39;, &#39;Norwegian Nynorsk&#39;),
 (&#39;os&#39;, &#39;Ossetic&#39;),
 (&#39;pa&#39;, &#39;Punjabi&#39;),
 (&#39;pl&#39;, &#39;Polish&#39;),
 (&#39;pt&#39;, &#39;Portuguese&#39;),
 (&#39;pt-br&#39;, &#39;Brazilian Portuguese&#39;),
 (&#39;ro&#39;, &#39;Romanian&#39;),
 (&#39;ru&#39;, &#39;Russian&#39;),
 (&#39;sk&#39;, &#39;Slovak&#39;),
 (&#39;sl&#39;, &#39;Slovenian&#39;),
 (&#39;sq&#39;, &#39;Albanian&#39;),
 (&#39;sr&#39;, &#39;Serbian&#39;),
 (&#39;sr-latn&#39;, &#39;Serbian Latin&#39;),
 (&#39;sv&#39;, &#39;Swedish&#39;),
 (&#39;sw&#39;, &#39;Swahili&#39;),
 (&#39;ta&#39;, &#39;Tamil&#39;),
 (&#39;te&#39;, &#39;Telugu&#39;),
 (&#39;th&#39;, &#39;Thai&#39;),
 (&#39;tr&#39;, &#39;Turkish&#39;),
 (&#39;tt&#39;, &#39;Tatar&#39;),
 (&#39;udm&#39;, &#39;Udmurt&#39;),
 (&#39;uk&#39;, &#39;Ukrainian&#39;),
 (&#39;ur&#39;, &#39;Urdu&#39;),
 (&#39;vi&#39;, &#39;Vietnamese&#39;),
 (&#39;zh-cn&#39;, &#39;Simplified Chinese&#39;),
 (&#39;zh-hans&#39;, &#39;Simplified Chinese&#39;),
 (&#39;zh-hant&#39;, &#39;Traditional Chinese&#39;),
 (&#39;zh-tw&#39;, &#39;Traditional Chinese&#39;))</pre></td>
        </tr>
      
        <tr>
          <td>CSRF_FAILURE_VIEW</td>
          <td class="code"><pre>&#39;django.views.csrf.csrf_failure&#39;</pre></td>
        </tr>
      
        <tr>
          <td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td>
          <td class="code"><pre>False</pre></td>
        </tr>
      
        <tr>
          <td>DATETIME_INPUT_FORMATS</td>
          <td class="code"><pre>(&#39;%Y-%m-%d %H:%M:%S&#39;,
 &#39;%Y-%m-%d %H:%M:%S.%f&#39;,
 &#39;%Y-%m-%d %H:%M&#39;,
 &#39;%Y-%m-%d&#39;,
 &#39;%m/%d/%Y %H:%M:%S&#39;,
 &#39;%m/%d/%Y %H:%M:%S.%f&#39;,
 &#39;%m/%d/%Y %H:%M&#39;,
 &#39;%m/%d/%Y&#39;,
 &#39;%m/%d/%y %H:%M:%S&#39;,
 &#39;%m/%d/%y %H:%M:%S.%f&#39;,
 &#39;%m/%d/%y %H:%M&#39;,
 &#39;%m/%d/%y&#39;)</pre></td>
        </tr>
      
        <tr>
          <td>TEMPLATE_DIRS</td>
          <td class="code"><pre>(&#39;/home/Dw/DW/templates&#39;, &#39;templates&#39;)</pre></td>
        </tr>
      
        <tr>
          <td>USE_ETAGS</td>
          <td class="code"><pre>False</pre></td>
        </tr>
      
        <tr>
          <td>WSGI_APPLICATION</td>
          <td class="code"><pre>&#39;Dw.wsgi.application&#39;</pre></td>
        </tr>
      
        <tr>
          <td>EMAIL_USE_TLS</td>
          <td class="code"><pre>False</pre></td>
        </tr>
      
        <tr>
          <td>SECURE_SSL_REDIRECT</td>
          <td class="code"><pre>False</pre></td>
        </tr>
      
        <tr>
          <td>USE_TZ</td>
          <td class="code"><pre>False</pre></td>
        </tr>
      
        <tr>
          <td>USE_X_FORWARDED_HOST</td>
          <td class="code"><pre>False</pre></td>
        </tr>
      
        <tr>
          <td>USE_THOUSAND_SEPARATOR</td>
          <td class="code"><pre>False</pre></td>
        </tr>
      
        <tr>
          <td>SIGNING_BACKEND</td>
          <td class="code"><pre>&#39;django.core.signing.TimestampSigner&#39;</pre></td>
        </tr>
      
        <tr>
          <td>CRONJOBS</td>
          <td class="code"><pre>((&#39;*/1 * * * *&#39;, &#39;dw.views.KindCheck&#39;),
 (&#39;00 00 * * *&#39;, &#39;dw.views.CreateWarning&#39;))</pre></td>
        </tr>
      
        <tr>
          <td>SHORT_DATE_FORMAT</td>
          <td class="code"><pre>&#39;m/d/Y&#39;</pre></td>
        </tr>
      
        <tr>
          <td>CORS_ALLOW_CREDENTIALS</td>
          <td class="code"><pre>True</pre></td>
        </tr>
      
        <tr>
          <td>CORS_ORIGIN_WHITELIST</td>
          <td class="code"><pre>()</pre></td>
        </tr>
      
        <tr>
          <td>FILE_UPLOAD_TEMP_DIR</td>
          <td class="code"><pre>None</pre></td>
        </tr>
      
        <tr>
          <td>TEMPLATE_STRING_IF_INVALID</td>
          <td class="code"><pre>&#39;&#39;</pre></td>
        </tr>
      
        <tr>
          <td>DATABASE_ROUTERS</td>
          <td class="code"><pre>[]</pre></td>
        </tr>
      
        <tr>
          <td>LANGUAGE_COOKIE_PATH</td>
          <td class="code"><pre>&#39;/&#39;</pre></td>
        </tr>
      
        <tr>
          <td>ALLOWED_HOSTS</td>
          <td class="code"><pre>[&#39;*&#39;]</pre></td>
        </tr>
      
        <tr>
          <td>MEDIA_URL</td>
          <td class="code"><pre>&#39;&#39;</pre></td>
        </tr>
      
        <tr>
          <td>SECURE_CONTENT_TYPE_NOSNIFF</td>
          <td class="code"><pre>False</pre></td>
        </tr>
      
        <tr>
          <td>LANGUAGE_COOKIE_AGE</td>
          <td class="code"><pre>None</pre></td>
        </tr>
      
        <tr>
          <td>STATICFILES_STORAGE</td>
          <td class="code"><pre>&#39;django.contrib.staticfiles.storage.StaticFilesStorage&#39;</pre></td>
        </tr>
      
        <tr>
          <td>LANGUAGE_COOKIE_NAME</td>
          <td class="code"><pre>&#39;django_language&#39;</pre></td>
        </tr>
      
        <tr>
          <td>TEST_NON_SERIALIZED_APPS</td>
          <td class="code"><pre>[]</pre></td>
        </tr>
      
        <tr>
          <td>SERVER_EMAIL</td>
          <td class="code"><pre>&#39;root@localhost&#39;</pre></td>
        </tr>
      
        <tr>
          <td>TEMPLATE_CONTEXT_PROCESSORS</td>
          <td class="code"><pre>(&#39;django.contrib.auth.context_processors.auth&#39;,
 &#39;django.template.context_processors.debug&#39;,
 &#39;django.template.context_processors.i18n&#39;,
 &#39;django.template.context_processors.media&#39;,
 &#39;django.template.context_processors.static&#39;,
 &#39;django.template.context_processors.tz&#39;,
 &#39;django.contrib.messages.context_processors.messages&#39;)</pre></td>
        </tr>
      
        <tr>
          <td>LANGUAGE_CODE</td>
          <td class="code"><pre>&#39;en-us&#39;</pre></td>
        </tr>
      
        <tr>
          <td>STATIC_ROOT</td>
          <td class="code"><pre>&#39;/home/Dw/DW/Dw/../static&#39;</pre></td>
        </tr>
      
        <tr>
          <td>FILE_UPLOAD_PERMISSIONS</td>
          <td class="code"><pre>None</pre></td>
        </tr>
      
        <tr>
          <td>PREPEND_WWW</td>
          <td class="code"><pre>False</pre></td>
        </tr>
      
        <tr>
          <td>MIDDLEWARE_CLASSES</td>
          <td class="code"><pre>(&#39;django.middleware.security.SecurityMiddleware&#39;,
 &#39;django.contrib.sessions.middleware.SessionMiddleware&#39;,
 &#39;corsheaders.middleware.CorsMiddleware&#39;,
 &#39;django.middleware.common.CommonMiddleware&#39;,
 &#39;django.contrib.auth.middleware.AuthenticationMiddleware&#39;,
 &#39;django.contrib.auth.middleware.SessionAuthenticationMiddleware&#39;,
 &#39;django.contrib.messages.middleware.MessageMiddleware&#39;,
 &#39;django.middleware.clickjacking.XFrameOptionsMiddleware&#39;)</pre></td>
        </tr>
      
        <tr>
          <td>LOGGING_CONFIG</td>
          <td class="code"><pre>&#39;logging.config.dictConfig&#39;</pre></td>
        </tr>
      
        <tr>
          <td>LANGUAGE_COOKIE_DOMAIN</td>
          <td class="code"><pre>None</pre></td>
        </tr>
      
        <tr>
          <td>SESSION_COOKIE_SECURE</td>
          <td class="code"><pre>False</pre></td>
        </tr>
      
        <tr>
          <td>LOGIN_URL</td>
          <td class="code"><pre>&#39;/accounts/login/&#39;</pre></td>
        </tr>
      
        <tr>
          <td>SECURE_BROWSER_XSS_FILTER</td>
          <td class="code"><pre>False</pre></td>
        </tr>
      
        <tr>
          <td>MEDIA_ROOT</td>
          <td class="code"><pre>&#39;&#39;</pre></td>
        </tr>
      
        <tr>
          <td>CSRF_COOKIE_NAME</td>
          <td class="code"><pre>&#39;csrftoken&#39;</pre></td>
        </tr>
      
        <tr>
          <td>ROOT_URLCONF</td>
          <td class="code"><pre>&#39;Dw.urls&#39;</pre></td>
        </tr>
      
        <tr>
          <td>USE_I18N</td>
          <td class="code"><pre>True</pre></td>
        </tr>
      
        <tr>
          <td>DEFAULT_EXCEPTION_REPORTER_FILTER</td>
          <td class="code"><pre>&#39;django.views.debug.SafeExceptionReporterFilter&#39;</pre></td>
        </tr>
      
        <tr>
          <td>SESSION_COOKIE_AGE</td>
          <td class="code"><pre>1209600</pre></td>
        </tr>
      
        <tr>
          <td>SESSION_ENGINE</td>
          <td class="code"><pre>&#39;django.contrib.sessions.backends.db&#39;</pre></td>
        </tr>
      
        <tr>
          <td>SESSION_COOKIE_NAME</td>
          <td class="code"><pre>&#39;sessionid&#39;</pre></td>
        </tr>
      
        <tr>
          <td>FIRST_DAY_OF_WEEK</td>
          <td class="code"><pre>0</pre></td>
        </tr>
      
        <tr>
          <td>SESSION_COOKIE_DOMAIN</td>
          <td class="code"><pre>None</pre></td>
        </tr>
      
        <tr>
          <td>APPEND_SLASH</td>
          <td class="code"><pre>True</pre></td>
        </tr>
      
        <tr>
          <td>DISALLOWED_USER_AGENTS</td>
          <td class="code"><pre>()</pre></td>
        </tr>
      
        <tr>
          <td>CORS_ALLOW_HEADERS</td>
          <td class="code"><pre>&#39;*&#39;</pre></td>
        </tr>
      
        <tr>
          <td>CSRF_COOKIE_PATH</td>
          <td class="code"><pre>&#39;/&#39;</pre></td>
        </tr>
      
        <tr>
          <td>SECURE_HSTS_INCLUDE_SUBDOMAINS</td>
          <td class="code"><pre>False</pre></td>
        </tr>
      
        <tr>
          <td>HERE</td>
          <td class="code"><pre>&#39;/home/Dw/DW/Dw/..&#39;</pre></td>
        </tr>
      
        <tr>
          <td>TEMPLATES</td>
          <td class="code"><pre>[{&#39;APP_DIRS&#39;: True,
  &#39;BACKEND&#39;: &#39;django.template.backends.django.DjangoTemplates&#39;,
  &#39;DIRS&#39;: [&#39;/home/Dw/DW/templates&#39;],
  &#39;OPTIONS&#39;: {&#39;context_processors&#39;: [&#39;django.template.context_processors.debug&#39;,
                                     &#39;django.template.context_processors.request&#39;,
                                     &#39;django.contrib.auth.context_processors.auth&#39;,
                                     &#39;django.contrib.messages.context_processors.messages&#39;]}}]</pre></td>
        </tr>
      
        <tr>
          <td>IGNORABLE_404_URLS</td>
          <td class="code"><pre>()</pre></td>
        </tr>
      
        <tr>
          <td>CACHE_MIDDLEWARE_KEY_PREFIX</td>
          <td class="code"><pre>&#39;********************&#39;</pre></td>
        </tr>
      
        <tr>
          <td>ALLOWED_INCLUDE_ROOTS</td>
          <td class="code"><pre>()</pre></td>
        </tr>
      
        <tr>
          <td>TIME_INPUT_FORMATS</td>
          <td class="code"><pre>(&#39;%H:%M:%S&#39;, &#39;%H:%M:%S.%f&#39;, &#39;%H:%M&#39;)</pre></td>
        </tr>
      
        <tr>
          <td>TIME_FORMAT</td>
          <td class="code"><pre>&#39;P&#39;</pre></td>
        </tr>
      
        <tr>
          <td>LOCALE_PATHS</td>
          <td class="code"><pre>()</pre></td>
        </tr>
      
        <tr>
          <td>YEAR_MONTH_FORMAT</td>
          <td class="code"><pre>&#39;F Y&#39;</pre></td>
        </tr>
      
        <tr>
          <td>CACHES</td>
          <td class="code"><pre>{&#39;default&#39;: {&#39;BACKEND&#39;: &#39;django.core.cache.backends.locmem.LocMemCache&#39;}}</pre></td>
        </tr>
      
        <tr>
          <td>PASSWORD_RESET_TIMEOUT_DAYS</td>
          <td class="code"><pre>&#39;********************&#39;</pre></td>
        </tr>
      
        <tr>
          <td>EMAIL_TIMEOUT</td>
          <td class="code"><pre>None</pre></td>
        </tr>
      
        <tr>
          <td>EMAIL_PORT</td>
          <td class="code"><pre>25</pre></td>
        </tr>
      
        <tr>
          <td>CSRF_COOKIE_SECURE</td>
          <td class="code"><pre>False</pre></td>
        </tr>
      
        <tr>
          <td>SESSION_COOKIE_HTTPONLY</td>
          <td class="code"><pre>True</pre></td>
        </tr>
      
        <tr>
          <td>TEST_RUNNER</td>
          <td class="code"><pre>&#39;django.test.runner.DiscoverRunner&#39;</pre></td>
        </tr>
      
        <tr>
          <td>NUMBER_GROUPING</td>
          <td class="code"><pre>0</pre></td>
        </tr>
      
        <tr>
          <td>SESSION_FILE_PATH</td>
          <td class="code"><pre>None</pre></td>
        </tr>
      
        <tr>
          <td>EMAIL_SSL_KEYFILE</td>
          <td class="code"><pre>&#39;********************&#39;</pre></td>
        </tr>
      
        <tr>
          <td>SETTINGS_MODULE</td>
          <td class="code"><pre>&#39;Dw.settings&#39;</pre></td>
        </tr>
      
        <tr>
          <td>AUTH_USER_MODEL</td>
          <td class="code"><pre>&#39;auth.User&#39;</pre></td>
        </tr>
      
        <tr>
          <td>CSRF_COOKIE_DOMAIN</td>
          <td class="code"><pre>None</pre></td>
        </tr>
      
        <tr>
          <td>SESSION_SERIALIZER</td>
          <td class="code"><pre>&#39;django.contrib.sessions.serializers.JSONSerializer&#39;</pre></td>
        </tr>
      
        <tr>
          <td>DEFAULT_CHARSET</td>
          <td class="code"><pre>&#39;utf-8&#39;</pre></td>
        </tr>
      
        <tr>
          <td>FILE_CHARSET</td>
          <td class="code"><pre>&#39;utf-8&#39;</pre></td>
        </tr>
      
        <tr>
          <td>THOUSAND_SEPARATOR</td>
          <td class="code"><pre>&#39;,&#39;</pre></td>
        </tr>
      
        <tr>
          <td>LOGOUT_URL</td>
          <td class="code"><pre>&#39;/accounts/logout/&#39;</pre></td>
        </tr>
      
        <tr>
          <td>DEFAULT_FROM_EMAIL</td>
          <td class="code"><pre>&#39;webmaster@localhost&#39;</pre></td>
        </tr>
      
        <tr>
          <td>TIME_ZONE</td>
          <td class="code"><pre>&#39;Asia/Shanghai&#39;</pre></td>
        </tr>
      
        <tr>
          <td>EMAIL_SUBJECT_PREFIX</td>
          <td class="code"><pre>&#39;[Django] &#39;</pre></td>
        </tr>
      
        <tr>
          <td>BASE_DIR</td>
          <td class="code"><pre>&#39;/home/Dw/DW&#39;</pre></td>
        </tr>
      
        <tr>
          <td>LANGUAGES_BIDI</td>
          <td class="code"><pre>(&#39;he&#39;, &#39;ar&#39;, &#39;fa&#39;, &#39;ur&#39;)</pre></td>
        </tr>
      
        <tr>
          <td>FORCE_SCRIPT_NAME</td>
          <td class="code"><pre>None</pre></td>
        </tr>
      
        <tr>
          <td>MIGRATION_MODULES</td>
          <td class="code"><pre>{}</pre></td>
        </tr>
      
        <tr>
          <td>DATABASES</td>
          <td class="code"><pre>{&#39;default&#39;: {&#39;ATOMIC_REQUESTS&#39;: False,
             &#39;AUTOCOMMIT&#39;: True,
             &#39;CONN_MAX_AGE&#39;: 0,
             &#39;ENGINE&#39;: &#39;django.db.backends.mysql&#39;,
             &#39;HOST&#39;: &#39;120.27.159.85&#39;,
             &#39;NAME&#39;: &#39;Dw&#39;,
             &#39;OPTIONS&#39;: {},
             &#39;PASSWORD&#39;: &#39;********************&#39;,
             &#39;PORT&#39;: &#39;3306&#39;,
             &#39;TEST&#39;: {&#39;CHARSET&#39;: None,
                      &#39;COLLATION&#39;: None,
                      &#39;MIRROR&#39;: None,
                      &#39;NAME&#39;: None},
             &#39;TIME_ZONE&#39;: &#39;Asia/Shanghai&#39;,
             &#39;USER&#39;: &#39;root&#39;}}</pre></td>
        </tr>
      
        <tr>
          <td>FILE_UPLOAD_DIRECTORY_PERMISSIONS</td>
          <td class="code"><pre>None</pre></td>
        </tr>
      
        <tr>
          <td>EMAIL_SSL_CERTFILE</td>
          <td class="code"><pre>None</pre></td>
        </tr>
      
        <tr>
          <td>CACHE_MIDDLEWARE_ALIAS</td>
          <td class="code"><pre>&#39;default&#39;</pre></td>
        </tr>
      
        <tr>
          <td>SHORT_DATETIME_FORMAT</td>
          <td class="code"><pre>&#39;m/d/Y P&#39;</pre></td>
        </tr>
      
        <tr>
          <td>INTERNAL_IPS</td>
          <td class="code"><pre>()</pre></td>
        </tr>
      
        <tr>
          <td>ABSOLUTE_URL_OVERRIDES</td>
          <td class="code"><pre>{}</pre></td>
        </tr>
      
        <tr>
          <td>EMAIL_BACKEND</td>
          <td class="code"><pre>&#39;django.core.mail.backends.smtp.EmailBackend&#39;</pre></td>
        </tr>
      
        <tr>
          <td>USE_L10N</td>
          <td class="code"><pre>True</pre></td>
        </tr>
      
        <tr>
          <td>CSRF_COOKIE_AGE</td>
          <td class="code"><pre>31449600</pre></td>
        </tr>
      
        <tr>
          <td>LOGIN_REDIRECT_URL</td>
          <td class="code"><pre>&#39;/accounts/profile/&#39;</pre></td>
        </tr>
      
        <tr>
          <td>CSRF_COOKIE_HTTPONLY</td>
          <td class="code"><pre>False</pre></td>
        </tr>
      
        <tr>
          <td>FILE_UPLOAD_MAX_MEMORY_SIZE</td>
          <td class="code"><pre>2621440</pre></td>
        </tr>
      
        <tr>
          <td>DATE_INPUT_FORMATS</td>
          <td class="code"><pre>(&#39;%Y-%m-%d&#39;,
 &#39;%m/%d/%Y&#39;,
 &#39;%m/%d/%y&#39;,
 &#39;%b %d %Y&#39;,
 &#39;%b %d, %Y&#39;,
 &#39;%d %b %Y&#39;,
 &#39;%d %b, %Y&#39;,
 &#39;%B %d %Y&#39;,
 &#39;%B %d, %Y&#39;,
 &#39;%d %B %Y&#39;,
 &#39;%d %B, %Y&#39;)</pre></td>
        </tr>
      
        <tr>
          <td>DEFAULT_TABLESPACE</td>
          <td class="code"><pre>&#39;&#39;</pre></td>
        </tr>
      
        <tr>
          <td>SECURE_PROXY_SSL_HEADER</td>
          <td class="code"><pre>None</pre></td>
        </tr>
      
        <tr>
          <td>MANAGERS</td>
          <td class="code"><pre>()</pre></td>
        </tr>
      
        <tr>
          <td>CACHE_MIDDLEWARE_SECONDS</td>
          <td class="code"><pre>600</pre></td>
        </tr>
      
        <tr>
          <td>DATE_FORMAT</td>
          <td class="code"><pre>&#39;N j, Y&#39;</pre></td>
        </tr>
      
        <tr>
          <td>SESSION_COOKIE_PATH</td>
          <td class="code"><pre>&#39;/&#39;</pre></td>
        </tr>
      
        <tr>
          <td>AUTHENTICATION_BACKENDS</td>
          <td class="code"><pre>(&#39;django.contrib.auth.backends.ModelBackend&#39;,)</pre></td>
        </tr>
      
        <tr>
          <td>DEFAULT_FILE_STORAGE</td>
          <td class="code"><pre>&#39;django.core.files.storage.FileSystemStorage&#39;</pre></td>
        </tr>
      
        <tr>
          <td>SESSION_CACHE_ALIAS</td>
          <td class="code"><pre>&#39;default&#39;</pre></td>
        </tr>
      
        <tr>
          <td>LOGGING</td>
          <td class="code"><pre>{}</pre></td>
        </tr>
      
        <tr>
          <td>ADMINS</td>
          <td class="code"><pre>()</pre></td>
        </tr>
      
        <tr>
          <td>STATICFILES_DIRS</td>
          <td class="code"><pre>((&#39;dist&#39;, &#39;/home/Dw/DW/Dw/../static/dist&#39;),
 (&#39;Image&#39;, &#39;/home/Dw/DW/Dw/../static/Image&#39;),
 (&#39;CstmPic&#39;, &#39;/home/Dw/DW/Dw/../static/CstmPic&#39;),
 (&#39;EventPic&#39;, &#39;/home/Dw/DW/Dw/../static/EventPic&#39;),
 (&#39;StorePic&#39;, &#39;/home/Dw/DW/Dw/../static/StorePic&#39;),
 (&#39;File&#39;, &#39;/home/Dw/DW/Dw/../static/File&#39;))</pre></td>
        </tr>
      
    </tbody>
  </table>

</div>

  <div id="explanation">
    <p>
      You're seeing this error because you have <code>DEBUG = True</code> in your
      Django settings file. Change that to <code>False</code>, and Django will
      display a standard page generated by the handler for this status code.
    </p>
  </div>

</body>
</html>
